Skip to content

Commit

Permalink
BC-7995 Raise node version to 22 (#3539)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyedwiper authored Nov 19, 2024
1 parent 40f1203 commit 700c142
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: setup environment and execute mocha tests
run: npm ci && npm run build && npm run mocha
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM docker.io/node:20 as git
FROM docker.io/node:22 as git

RUN mkdir /app && chown -R node:node /app
WORKDIR /app
COPY .git .
RUN git config --global --add safe.directory /app && echo "{\"sha\": \"$(git rev-parse HEAD)\", \"version\": \"$(git describe --tags --abbrev=0)\", \"commitDate\": \"$(git log -1 --format=%cd --date=format:'%Y-%m-%dT%H:%M:%SZ')\", \"birthdate\": \"$(date +%Y-%m-%dT%H:%M:%SZ)\"}" > /app/version

FROM docker.io/node:20-alpine
FROM docker.io/node:22-alpine

ENV TZ=Europe/Berlin

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"coverage": "nyc npm run mocha"
},
"engines": {
"node": "20",
"node": "22",
"npm": ">=9"
},
"lint-staged": {
Expand Down

0 comments on commit 700c142

Please sign in to comment.