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 f813794 commit 4ccdb49
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 4ccdb49

Please sign in to comment.