Skip to content

Commit

Permalink
revert: node version (#3352)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anas12091101 authored Jan 1, 2025
1 parent 5b485bc commit 9c6bc42
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v2-beta
with:
node-version: 20.16.0
node-version: 20.18.0

- name: Get yarn cache directory path
id: yarn-cache-dir-path
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ services:
extra_hosts: *default-extra-hosts

watch:
image: node:22.11.0
image: node:20.18.0
working_dir: /src
command: >
/bin/bash -c './webpack_dev_server.sh --install'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"yup": "^1.0.0"
},
"engines": {
"node": "22.11.0"
"node": "20.18.0"
},
"scripts": {
"postinstall": "./webpack_if_prod.sh",
Expand Down
8 changes: 4 additions & 4 deletions scripts/test/js_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ TMP_FILE=$(mktemp)
export TMP_FILE

if [[ -n $COVERAGE ]]; then
export CMD="node --no-experimental-detect-module ./node_modules/nyc/bin/nyc.js --reporter=html mocha"
export CMD="node ./node_modules/nyc/bin/nyc.js --reporter=html mocha"
elif [[ -n $CODECOV ]]; then
export CMD="node --no-experimental-detect-module ./node_modules/nyc/bin/nyc.js --reporter=lcovonly -R spec mocha"
export CMD="node ./node_modules/nyc/bin/nyc.js --reporter=lcovonly -R spec mocha"
elif [[ -n $WATCH ]]; then
export CMD="node --no-experimental-detect-module ./node_modules/mocha/bin/_mocha --watch"
export CMD="node ./node_modules/mocha/bin/_mocha --watch"
else
export CMD="node --no-experimental-detect-module ./node_modules/mocha/bin/_mocha"
export CMD="node ./node_modules/mocha/bin/_mocha"
fi

export FILE_PATTERN=${1:-'"static/**/*/*_test.js"'}
Expand Down

0 comments on commit 9c6bc42

Please sign in to comment.