Skip to content

Commit

Permalink
ci(deps): use rolling node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
atjn committed Aug 24, 2024
1 parent ad30b21 commit 3a138a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [20, 22]
node: [lts/-1, lts/*]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: lts/*
registry-url: https://registry.npmjs.org
- name: install
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: 12
node-version: lts/*
registry-url: https://registry.npmjs.org
- name: install dep
run: npm ci
Expand Down

0 comments on commit 3a138a6

Please sign in to comment.