We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8c64a7 commit 9cfa5baCopy full SHA for 9cfa5ba
.github/workflows/ci.yml
@@ -14,6 +14,10 @@ jobs:
14
test_and_deploy:
15
name: Test and deploy
16
runs-on: ubuntu-latest
17
+ strategy:
18
+ matrix:
19
+ node-version: [20.x]
20
+
21
steps:
22
- name: Checkout the source code
23
uses: actions/checkout@v2
@@ -30,6 +34,17 @@ jobs:
30
34
- uses: Swatinem/rust-cache@v2
31
35
with:
32
36
key: linux
37
38
+ - name: Use Node.js ${{ matrix.node-version }}
39
+ uses: actions/setup-node@v3
40
+ with:
41
+ node-version: ${{ matrix.node-version }}
42
43
+ - name: Build frontend for testing
44
+ run: |
45
+ npm ci
46
+ npm run build
47
+ working-directory: ./site/frontend
33
48
49
- name: Run unit tests
50
run: cargo test --all
0 commit comments