Skip to content

Commit f85cfc1

Browse files
committed
chore: update Node.js version to 20.x and add NODE_OPTIONS for compatibility in scripts
1 parent e8a347c commit f85cfc1

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [16.x]
20+
node-version: [20.x]
2121
workDir: [./front-end]
2222
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2323

.github/workflows/github-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
strategy:
2323
matrix:
24-
node-version: [16.x]
24+
node-version: [20.x]
2525
workDir: [./front-end]
2626
base_href: [vagas-java]
2727
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

front-end/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"homepage": "https://ionicframework.com/",
66
"scripts": {
77
"ng": "ng",
8-
"start": "ng serve",
9-
"build": "ng build",
10-
"test": "ng test",
8+
"start": "NODE_OPTIONS=--openssl-legacy-provider ng serve",
9+
"build": "NODE_OPTIONS=--openssl-legacy-provider ng build",
10+
"test": "NODE_OPTIONS=--openssl-legacy-provider ng test",
1111
"lint": "ng lint",
1212
"e2e": "ng e2e",
1313
"ci:clean": "rimraf ./dist",
14-
"ci:test": "ng test --watch=false --browsers=ChromeHeadlessCI",
15-
"ci:build": "ng build --configuration production"
14+
"ci:test": "NODE_OPTIONS=--openssl-legacy-provider ng test --watch=false --browsers=ChromeHeadlessCI",
15+
"ci:build": "NODE_OPTIONS=--openssl-legacy-provider ng build --configuration production"
1616
},
1717
"private": true,
1818
"dependencies": {

0 commit comments

Comments
 (0)