Skip to content

Commit

Permalink
ci: test on Node.js 22, too
Browse files Browse the repository at this point in the history
As of now, this is the "current" Node.js release, but it will be
the next LTS release by the end of this year.
  • Loading branch information
striezel committed May 13, 2024
1 parent 4dda2be commit 1efc437
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12, 14, 16, 18, 20]
node-version: [12, 14, 16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,15 @@ node_20:
- cd ./export-server
- npm install
- ./test.sh

node_22:
image: node:22-slim
stage: build
before_script:
- node --version
- npm --version
script:
- apt-get update && apt-get install -y procps
- cd ./export-server
- npm install
- ./test.sh

0 comments on commit 1efc437

Please sign in to comment.