Skip to content

Commit

Permalink
Set build matrix for the node-version (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
toshimaru authored Aug 19, 2024
1 parent 6a67032 commit 30897be
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/setup-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
jobs:
setup:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4 # double checkout test
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci

0 comments on commit 30897be

Please sign in to comment.