Skip to content

Commit

Permalink
Update windows CI workflow to build frontend for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chengr4 committed Apr 28, 2024
1 parent 8adf934 commit 332c8ac
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ jobs:
test_on_windows:
name: Test on Windows
runs-on: windows-latest
strategy:
matrix:
node-version: [20.x]

steps:
- name: Checkout the source code
uses: actions/checkout@v2
Expand All @@ -102,6 +106,17 @@ jobs:
env:
RUSTFLAGS: -Dwarnings

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build frontend for testing
run: |
npm ci
npm run build
working-directory: ./site/frontend

- name: Run unit tests
run: cargo test --all

Expand Down

0 comments on commit 332c8ac

Please sign in to comment.