Skip to content

Commit

Permalink
ci: update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Dec 27, 2023
1 parent 6870794 commit 9c862f7
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ on:
- push
- pull_request
jobs:
linux:
test_linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18.x
- 19.x
- 20.10.0
- 21.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -20,13 +20,13 @@ jobs:
run: npm install
- name: Run tests
run: npm test
windows:
test_windows:
runs-on: windows-latest
strategy:
matrix:
node-version:
- 18.x
- 19.x
- 20.10.0
- 21.x
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -37,3 +37,21 @@ jobs:
run: npm install
- name: Run tests
run: npm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.10.0
- run: npm install
- run: npm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.10.0
- run: npm install
- run: npm run typecheck

0 comments on commit 9c862f7

Please sign in to comment.