Skip to content

Commit

Permalink
update ci to run tests on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
qetza committed Mar 16, 2024
1 parent 9c95882 commit f58fd86
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,29 @@ jobs:
- name: Build
run: npm run build

test:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
needs: build

steps:
- uses: actions/checkout@v4

- name: Setup nodejs 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x

- name: Install dependencies
run: npm ci

- name: Test
run: npm run test

test:
test-run:
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit f58fd86

Please sign in to comment.