Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HL-765 | Upgrade to Node v18 #2015

Merged
merged 11 commits into from
Aug 11, 2023
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/bf-applicant-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -68,4 +68,4 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
6 changes: 3 additions & 3 deletions .github/workflows/bf-handler-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -52,7 +52,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -68,4 +68,4 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
2 changes: 1 addition & 1 deletion .github/workflows/bf-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bf-shared-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ks-empl-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: (KS Employer) Frontend Lint, Unit and Component tests

on:
push:
branches: [ develop, main ]
branches: [develop, main]
pull_request:
paths:
- 'frontend/shared/**'
- 'frontend/kesaseteli/shared/**'
- 'frontend/kesaseteli/employer/**'
- 'frontend/*'
- '.github/workflows/ks-empl-frontend-tests.yml'
- "frontend/shared/**"
- "frontend/kesaseteli/shared/**"
- "frontend/kesaseteli/employer/**"
- "frontend/*"
- ".github/workflows/ks-empl-frontend-tests.yml"
- "!**/browser-tests/**"
- "!**/README.md"
workflow_dispatch:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
- name: Frontend build failure slack notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ks-handler-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: (KS Handler) Frontend Lint, Unit and Component tests

on:
push:
branches: [ develop, main ]
branches: [develop, main]
pull_request:
paths:
- 'frontend/shared/**'
- 'frontend/kesaseteli/shared/**'
- 'frontend/kesaseteli/handler/**'
- 'frontend/*'
- '.github/workflows/ks-handler-frontend-tests.yml'
- "frontend/shared/**"
- "frontend/kesaseteli/shared/**"
- "frontend/kesaseteli/handler/**"
- "frontend/*"
- ".github/workflows/ks-handler-frontend-tests.yml"
- "!**/browser-tests/**"
- "!**/README.md"
workflow_dispatch:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
- name: Frontend build failure slack notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ks-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ks-shared-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ks-youth-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: (KS Youth) Frontend Lint, Unit and Component tests

on:
push:
branches: [ develop, main ]
branches: [develop, main]
pull_request:
paths:
- 'frontend/shared/**'
- 'frontend/kesaseteli/shared/**'
- 'frontend/kesaseteli/youth/**'
- 'frontend/*'
- '.github/workflows/ks-youth-frontend-tests.yml'
- "frontend/shared/**"
- "frontend/kesaseteli/shared/**"
- "frontend/kesaseteli/youth/**"
- "frontend/*"
- ".github/workflows/ks-youth-frontend-tests.yml"
- "!**/browser-tests/**"
- "!**/README.md"
workflow_dispatch:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
- name: Frontend build failure slack notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shared-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/te-admn-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: (TET) Admin Frontend Lint, Unit and Component tests

on:
push:
branches: [ develop, main ]
branches: [develop, main]
pull_request:
paths:
- 'frontend/shared/**'
- 'frontend/tet/admin/**'
- 'frontend/*'
- '.github/workflows/te-admn-frontend-tests.yml'
- "frontend/shared/**"
- "frontend/tet/admin/**"
- "frontend/*"
- ".github/workflows/te-admn-frontend-tests.yml"
- "!**/browser-tests/**"
- "!**/README.md"
workflow_dispatch:
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
- name: Frontend build failure slack notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/te-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/te-shared-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/te-yout-frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: (TET) Youth Frontend Lint, Unit and Component tests

on:
push:
branches: [ develop, main ]
branches: [develop, main]
pull_request:
paths:
- 'frontend/shared/**'
- 'frontend/*'
- 'frontend/tet/**'
- '.github/workflows/te-yout-frontend-tests.yml'
- "frontend/shared/**"
- "frontend/*"
- "frontend/tet/**"
- ".github/workflows/te-yout-frontend-tests.yml"
- "!**/browser-tests/**"
- "!**/README.md"
workflow_dispatch:
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Check that building dev application works
env:
NEXTJS_DISABLE_SENTRY: true
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build
- name: Frontend build failure slack notification
uses: rtCamp/action-slack-notify@v2
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-audit-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
node-version: "18"
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This monorepo contains code for four different employment services:
## Requirements

* Docker@^19.03.0 (or higher)
* NodeJS@^16.19.0
* NodeJS@^18.16.0
* Yarn@^1.22

---
Expand Down
Loading
Loading