Skip to content

Commit

Permalink
ci: test and publish on node 22 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung authored Oct 9, 2024
1 parent b38de88 commit 9e1e86b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
matrix:
# Include all major maintenance + active LTS + current Node.js versions.
# https://github.com/nodejs/Release#release-schedule
node: [18, 20]
node: [18, 20, 22]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js 20
- name: Set up Node.js 22
uses: actions/setup-node@v3
with:
# Always build using the same Node.js version, to ensure consistent
# results from scripts/iu-mappings.js.
# This version should be the same as the one used in the
# publish-on-tag workflow.
node-version: 20
node-version: 22
- name: Install dependencies
run: npm install
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js 20
- name: Set up Node.js 22
uses: actions/setup-node@v3
with:
# Always build using the same Node.js version, to ensure consistent
# results from scripts/iu-mappings.js.
# This version should be the same as the one used in the main workflow.
node-version: 20
node-version: 22
- name: Install dependencies
run: npm install
- name: Build
Expand Down

0 comments on commit 9e1e86b

Please sign in to comment.