Skip to content

Commit

Permalink
update deprecated actions and add note about using node v22
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed May 13, 2024
1 parent 3f6cbf3 commit d4548b4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
# node v22 cannot be added to this list until this issue is solved otherwise it causes SEGV
# https://github.com/nodejs/node/issues/52797
node: ['16', '18', '20']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
Expand All @@ -22,10 +24,10 @@ jobs:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: npm
- run: npm ci
- run: npm run lint

0 comments on commit d4548b4

Please sign in to comment.