Skip to content

Commit

Permalink
chore(deps): update node.js to v22 (#453)
Browse files Browse the repository at this point in the history
* chore(deps): update node.js to v22

* chore: Use Node.js 22 for CI lint and coverage

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian Meyer <3982806+meyfa@users.noreply.github.com>
  • Loading branch information
renovate[bot] and meyfa authored Nov 6, 2024
1 parent 260ee4f commit baa5160
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: npm
- run: npm ci
- run: npm run lint
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: npm
- run: npm ci
- uses: paambaati/codeclimate-action@v9.0.0
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -- compilation --
FROM node:20.18.0-alpine as build
FROM node:22.11.0-alpine as build

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /usr/src/app

# install dependencies
Expand All @@ -12,7 +12,7 @@ RUN npm run build


# -- execution --
FROM node:20.18.0-alpine
FROM node:22.11.0-alpine
WORKDIR /usr/src/app

# install PRODUCTION dependencies
Expand Down
10 changes: 5 additions & 5 deletions 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 @@ -48,7 +48,7 @@
"@meyfa/eslint-config": "8.0.0",
"@types/mocha": "10.0.9",
"@types/ms": "0.7.34",
"@types/node": "20.16.13",
"@types/node": "22.9.0",
"c8": "10.1.2",
"eslint": "9.13.0",
"mocha": "10.7.3",
Expand Down

0 comments on commit baa5160

Please sign in to comment.