Skip to content

Commit

Permalink
BC-7347 - update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilchiriac committed Aug 2, 2024
1 parent af4735c commit e1c46ac
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 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: '18'
node-version: '20'

- 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 @@
18
20
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/node:18 as git
FROM docker.io/node:20 as git

RUN mkdir /app && chown -R node:node /app
WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
"watch": "nodemon --config nodemon.json",
"debug": "nodemon --inspect=9310 --config nodemon.json",
"debug:container": "nodemon --inspect=0.0.0.0:9310 --config nodemon.json",
"lint": "eslint --ext .json --fix . && eslint ./controllers ./helpers ./test/mocha ./api.js ./app.js ./locales --ext .js --ext .json --fix",
"lint": "eslint --ext .json --fix . && eslint ./controllers ./helpers ./test/mocha ./api.js ./app.js ./locales --ext .js --ext .json --fix",
"startd": "echo 'Do you mean 'npm run watch'?'",
"mocha": "cross-env NODE_ENV=test mocha test/mocha/ --exit --recursive",
"build": "gulp clear && cross-env NODE_OPTIONS=--openssl-legacy-provider gulp",
"dev": "gulp clear && cross-env NODE_OPTIONS=--openssl-legacy-provider gulp watch-reload",
"coverage": "nyc npm run mocha"
},
"engines": {
"node": "18",
"npm": ">=9"
"node": "20",
"npm": ">=10"
},
"lint-staged": {
"static/images/**/*.{png,jpeg,jpg,gif,svg}": [
Expand Down

0 comments on commit e1c46ac

Please sign in to comment.