Skip to content

Commit

Permalink
test code with all supported Node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlanz committed Mar 18, 2024
1 parent 7066b52 commit 60d6110
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ name: Test Package

on: push

env:
NODE_VERSION: 20

jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 15
strategy:
matrix:
node_version: [16, 18, 20]
steps:
- uses: actions/checkout@v4
- uses: aboutbits/github-actions-node/setup-and-install@v2
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ matrix.node_version }}
- run: npm run lint
- run: npm run typecheck
- run: npm run test

0 comments on commit 60d6110

Please sign in to comment.