Skip to content

Commit

Permalink
ci: node version tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kanadgupta committed Oct 17, 2024
1 parent 58558db commit fa06ed9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- run: npm ci
- run: npm run build
Expand All @@ -28,8 +28,12 @@ jobs:
strategy:
matrix:
node-version:
- 18
- 20
# see the following:
# https://github.com/actions/setup-node?tab=readme-ov-file#supported-version-syntax
# https://github.com/nvm-sh/nvm/issues/1998#issuecomment-594958684
- lts/-1
- lts/*
- latest

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit fa06ed9

Please sign in to comment.