Skip to content

Commit

Permalink
#1748 Upgrade Elyra Canvas to Node 20.x (#1749)
Browse files Browse the repository at this point in the history
  • Loading branch information
srikant-ch5 authored Mar 20, 2024
1 parent c20f7e3 commit 00b1510
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 20.x
- run: npm install -g grunt-cli sass
- run: ./canvas_modules/common-canvas/build.sh
- run: ./canvas_modules/harness/build.sh test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 20.x
- run: npm install -g grunt-cli
- run: ./canvas_modules/common-canvas/build.sh
- run: ./scripts/publish_modules.sh
Expand Down
2 changes: 1 addition & 1 deletion canvas_modules/harness/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
# Test Harness

## Environment setup
- Nodejs `node 16.x`
- Nodejs `node 20.x`

#### Development setup
```sh
Expand Down
10 changes: 5 additions & 5 deletions canvas_modules/harness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"private": true,
"license": "Apache-2.0",
"scripts": {
"start": "NODE_ENV=development node index.js",
"build": "npx stylelint 'src/**/*.scss' && grunt",
"start": "export NODE_OPTIONS=--openssl-legacy-provider && NODE_ENV=development node index.js",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && npx stylelint 'src/**/*.scss' && grunt",
"test": "npx cypress open",
"bundle-report": "NODE_ENV=production BUNDLE_REPORT=true grunt",
"start-prod": "NODE_ENV=production node index.js",
"build-prod": "npx stylelint 'src/**/*.scss' && NODE_ENV=production grunt --max-old-space-size=8192"
"start-prod": "export NODE_OPTIONS=--openssl-legacy-provider && NODE_ENV=production node index.js",
"build-prod": "export NODE_OPTIONS=--openssl-legacy-provider && npx stylelint 'src/**/*.scss' && NODE_ENV=production grunt --max-old-space-size=8192"
},
"engines": {
"node": "16.x"
"node": "20.x"
},
"dependencies": {
"body-parser": "1.19.0",
Expand Down

0 comments on commit 00b1510

Please sign in to comment.