Skip to content

Commit

Permalink
chore(gha): update node.js versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL committed Nov 6, 2024
1 parent 40bab08 commit 4772604
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
# pinned to 18 until https://github.com/compulim/version-from-git/issues/16 is fixed
node-version: 18
node-version: lts/*
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies (pnpm)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20, 22 ]
node-version: [ latest, lts/*, lts/-1 ]
name: Vitest on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20, 22 ]
node-version: [ latest, lts/*, lts/-1 ]
chromium:
- name: bundled Chromium
dependency: ''
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20, 22 ]
node-version: [ latest, lts/*, lts/-1 ]
name: Build radar and maintainer on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 4772604

Please sign in to comment.