Skip to content

Commit

Permalink
Upgrade Pipeline to NodeJS version 20 (#3777)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndricimrr authored Jun 14, 2024
1 parent 7864aba commit ffd9837
Show file tree
Hide file tree
Showing 19 changed files with 1,321 additions and 1,227 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auth-oidc-pkce-plugin-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- name: Install and lint
working-directory: ./container
run: npm i && npm run lint || exit 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/luigi-client-support-ui5-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: ~/.cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_cra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: echo "//registry.npmjs.org/:_authToken=$NPM_LUI_AUTH_TOKEN" > ~/.npmrc
- run: bash ./scripts/npmPublish.sh cra-release
2 changes: 1 addition & 1 deletion .github/workflows/rc-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/setupScripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: |
OUT=$(bash ./test/setuptests.sh @angular/cli 4200 http://localhost:4200/ https://raw.githubusercontent.com/SAP/luigi/main/scripts/setup/angular.sh | tee /dev/fd/2)
RES=$(grep -c "Stopping webserver on port 4200" <<< "$OUT")
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: |
OUT=$(bash ./test/setuptests.sh @vue/cli 8080 http://localhost:8080/ https://raw.githubusercontent.com/SAP/luigi/main/scripts/setup/vue.sh | tee /dev/fd/2)
RES=$(grep -c "Stopping webserver on port 8080" <<< "$OUT")
Expand All @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: |
OUT=$(bash ./test/setuptests.sh 'react-cli react' 3000 http://localhost:3000/ https://raw.githubusercontent.com/SAP/luigi/main/scripts/setup/react.sh | tee /dev/fd/2)
RES=$(grep -c "Stopping webserver on port 3000" <<< "$OUT")
Expand All @@ -48,7 +48,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: |
OUT=$(bash ./test/setuptests.sh @ui5/cli 8080 http://localhost:8080/index.html#/home https://raw.githubusercontent.com/SAP/luigi/main/scripts/setup/openui5.sh | tee /dev/fd/2)
RES=$(grep -c "Stopping webserver on port 8080" <<< "$OUT")
Expand All @@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: |
OUT=$(bash ./test/setuptests.sh ' ' 8080 http://localhost:8080/ https://raw.githubusercontent.com/SAP/luigi/main/scripts/setup/no-framework.sh | tee /dev/fd/2)
RES=$(grep -c "Stopping webserver on port 8080" <<< "$OUT")
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand All @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand All @@ -84,7 +84,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand All @@ -105,7 +105,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- uses: actions/cache@v4
with:
path: |
Expand All @@ -126,6 +126,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.15.0'
node-version: '20.14.0'
- run: cd ./scripts && npm ci
- run: bash ./scripts/docuCheck.sh
Loading

0 comments on commit ffd9837

Please sign in to comment.