Skip to content

Commit

Permalink
ci: revert back to node20 [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Dec 27, 2024
1 parent 2c2453f commit fb5d015
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 967 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/pullRequests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- uses: webiny/[email protected]
runs-on: ubuntu-latest
Expand All @@ -27,7 +27,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- uses: webiny/[email protected]
with:
Expand All @@ -47,7 +47,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: Create global cache key
id: global-cache-key
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: Print latest Webiny version
run: echo ${{ needs.constants.outputs.latest-webiny-version }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
Expand Down Expand Up @@ -227,14 +227,14 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: List packages to test with Jest
id: list-packages-to-jest-test
run: >-
echo "packages-to-jest-test=$(node
.github/workflows/wac/utils/runNodeScripts/listPackagesToJestTest.js
'[[{"cmd":"packages/api","packageName":"api","id":"806497aaa729e8d39f59792bcfb12b26"},{"cmd":"packages/api-admin-settings","packageName":"api-admin-settings","id":"31140e7ea9283c9db32ec5f905ce2a1e"},{"cmd":"packages/api-authentication","packageName":"api-authentication","id":"0eaf9f853f122e4ab215bf49d39f3edc"},{"cmd":"packages/api-authentication-cognito","packageName":"api-authentication-cognito","id":"dfb5e1fcea213538a9730314cb5e7d06"},{"cmd":"packages/api-headless-cms-ddb","packageName":"api-headless-cms-ddb","id":"5333e1fe6c2b8f5bbcb101a446419c3e"},{"cmd":"packages/api-record-locking","packageName":"api-record-locking","id":"9340c019a5369ea1aa55f7ed28b09f48"},{"cmd":"packages/api-wcp","packageName":"api-wcp","id":"77ff8a0a075e8d9f7e25001ea64c6c9e"},{"cmd":"packages/api-websockets","packageName":"api-websockets","id":"fd704b97c31f78a886b342babd344d33"},{"cmd":"packages/app-aco","packageName":"app-aco","id":"dddb66beffe2e54804d5bdedd2b423cb"},{"cmd":"packages/app-admin","packageName":"app-admin","id":"53bbef747a26e831904585bcfdd845f7"},{"cmd":"packages/cwp-template-aws","packageName":"cwp-template-aws","id":"846572f41c9427974a577bb95257d019"},{"cmd":"packages/data-migration","packageName":"data-migration","id":"294257fffed0174f169b2c812e16258e"},{"cmd":"packages/db-dynamodb","packageName":"db-dynamodb","id":"5cb733de265d7bbda981fce60f2a8962"},{"cmd":"packages/di-container","packageName":"di-container","id":"70e0a6393c0bf39362cfbc54c5bd72f6"},{"cmd":"packages/form","packageName":"form","id":"5707e699d8a4d3b8ee1954c070a50617"},{"cmd":"packages/handler","packageName":"handler","id":"1dad17bbf61657b4308250e8293cb5dd"},{"cmd":"packages/handler-aws","packageName":"handler-aws","id":"2a5bd44c5f2a4290c43f9021bbc705a5"},{"cmd":"packages/handler-graphql","packageName":"handler-graphql","id":"74884166fb2bf383da482fb78b18b704"},{"cmd":"packages/handler-logs","packageName":"handler-logs","id":"ca9a7e2ed32de50aff66c839f0003352"},{"cmd":"packages/ioc","packageName":"ioc","id":"af22b6d7d245321d64d4b714d03ef3e1"},{"cmd":"packages/lexical-converter","packageName":"lexical-converter","id":"52e3bb3ea633bd27d5bab8be976cd16f"},{"cmd":"packages/plugins","packageName":"plugins","id":"c91537eaa40845d816d0d9f39e66018b"},{"cmd":"packages/pubsub","packageName":"pubsub","id":"fc14c28c51c537a7d9edd33d73ae29e2"},{"cmd":"packages/react-composition","packageName":"react-composition","id":"428b8a3187fe275cb76da6bad0ba3918"},{"cmd":"packages/react-properties","packageName":"react-properties","id":"7578e63dcaa1ac66fed4a8dd936a9285"},{"cmd":"packages/react-rich-text-lexical-renderer","packageName":"react-rich-text-lexical-renderer","id":"452451b34eb7e0134e99b0706e5eb076"},{"cmd":"packages/utils","packageName":"utils","id":"696ceb17e38e4a274d4a149d24513b78"},{"cmd":"packages/validation","packageName":"validation","id":"9c68da33792a1214ae45e040a2830cd7"}],
'[[{"cmd":"packages/api","packageName":"api","id":"806497aaa729e8d39f59792bcfb12b26"},{"cmd":"packages/api-admin-settings","packageName":"api-admin-settings","id":"31140e7ea9283c9db32ec5f905ce2a1e"},{"cmd":"packages/api-authentication","packageName":"api-authentication","id":"0eaf9f853f122e4ab215bf49d39f3edc"},{"cmd":"packages/api-authentication-cognito","packageName":"api-authentication-cognito","id":"dfb5e1fcea213538a9730314cb5e7d06"},{"cmd":"packages/api-headless-cms-ddb","packageName":"api-headless-cms-ddb","id":"5333e1fe6c2b8f5bbcb101a446419c3e"},{"cmd":"packages/api-headless-cms-tasks","packageName":"api-headless-cms-tasks","id":"96289ad460c721cf2801c08e8b58c3d3"},{"cmd":"packages/api-record-locking","packageName":"api-record-locking","id":"9340c019a5369ea1aa55f7ed28b09f48"},{"cmd":"packages/api-wcp","packageName":"api-wcp","id":"77ff8a0a075e8d9f7e25001ea64c6c9e"},{"cmd":"packages/api-websockets","packageName":"api-websockets","id":"fd704b97c31f78a886b342babd344d33"},{"cmd":"packages/app-aco","packageName":"app-aco","id":"dddb66beffe2e54804d5bdedd2b423cb"},{"cmd":"packages/app-admin","packageName":"app-admin","id":"53bbef747a26e831904585bcfdd845f7"},{"cmd":"packages/cwp-template-aws","packageName":"cwp-template-aws","id":"846572f41c9427974a577bb95257d019"},{"cmd":"packages/data-migration","packageName":"data-migration","id":"294257fffed0174f169b2c812e16258e"},{"cmd":"packages/db-dynamodb","packageName":"db-dynamodb","id":"5cb733de265d7bbda981fce60f2a8962"},{"cmd":"packages/di-container","packageName":"di-container","id":"70e0a6393c0bf39362cfbc54c5bd72f6"},{"cmd":"packages/form","packageName":"form","id":"5707e699d8a4d3b8ee1954c070a50617"},{"cmd":"packages/handler","packageName":"handler","id":"1dad17bbf61657b4308250e8293cb5dd"},{"cmd":"packages/handler-aws","packageName":"handler-aws","id":"2a5bd44c5f2a4290c43f9021bbc705a5"},{"cmd":"packages/handler-graphql","packageName":"handler-graphql","id":"74884166fb2bf383da482fb78b18b704"},{"cmd":"packages/handler-logs","packageName":"handler-logs","id":"ca9a7e2ed32de50aff66c839f0003352"},{"cmd":"packages/ioc","packageName":"ioc","id":"af22b6d7d245321d64d4b714d03ef3e1"},{"cmd":"packages/lexical-converter","packageName":"lexical-converter","id":"52e3bb3ea633bd27d5bab8be976cd16f"},{"cmd":"packages/plugins","packageName":"plugins","id":"c91537eaa40845d816d0d9f39e66018b"},{"cmd":"packages/pubsub","packageName":"pubsub","id":"fc14c28c51c537a7d9edd33d73ae29e2"},{"cmd":"packages/react-composition","packageName":"react-composition","id":"428b8a3187fe275cb76da6bad0ba3918"},{"cmd":"packages/react-properties","packageName":"react-properties","id":"7578e63dcaa1ac66fed4a8dd936a9285"},{"cmd":"packages/react-rich-text-lexical-renderer","packageName":"react-rich-text-lexical-renderer","id":"452451b34eb7e0134e99b0706e5eb076"},{"cmd":"packages/utils","packageName":"utils","id":"696ceb17e38e4a274d4a149d24513b78"},{"cmd":"packages/validation","packageName":"validation","id":"9c68da33792a1214ae45e040a2830cd7"}],
${{ needs.constants.outputs.changed-packages }}]')" >> $GITHUB_OUTPUT
- name: Packages to test with Jest
id: list-packages
Expand All @@ -256,7 +256,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
package: >-
${{
fromJson(needs.jestTestsNoStorageConstants.outputs.packages-to-jest-test)
Expand All @@ -270,7 +270,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: List packages to test with Jest
id: list-packages-to-jest-test
Expand Down Expand Up @@ -375,7 +375,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
package: >-
${{
fromJson(needs.jestTestsddbConstants.outputs.packages-to-jest-test) }}
Expand All @@ -388,7 +388,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ github.base_ref }}
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: List packages to test with Jest
id: list-packages-to-jest-test
Expand Down Expand Up @@ -492,7 +492,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
package: >-
${{
fromJson(needs.jestTestsddb-esConstants.outputs.packages-to-jest-test)
Expand All @@ -511,7 +511,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -550,7 +550,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: List packages to test with Jest
id: list-packages-to-jest-test
Expand Down Expand Up @@ -622,7 +622,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
package: >-
${{
fromJson(needs.jestTestsddb-osConstants.outputs.packages-to-jest-test)
Expand All @@ -641,7 +641,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/pullRequestsCommandCypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Check for Command
id: command
uses: xt0rted/slash-command-action@v2
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn --immutable
Expand All @@ -61,7 +61,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
- name: Get base branch
id: base-branch
Expand All @@ -83,7 +83,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Create global cache key
id: global-cache-key
run: >-
Expand All @@ -108,7 +108,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -322,7 +322,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
cypress-folder: >-
${{ fromJson(needs.e2e-wby-cms-ddb-constants.outputs.cypress-folders)
}}
Expand All @@ -337,7 +337,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down Expand Up @@ -428,7 +428,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -557,7 +557,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
cypress-folder: >-
${{
fromJson(needs.e2e-wby-cms-ddb-es-constants.outputs.cypress-folders)
Expand All @@ -576,7 +576,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down Expand Up @@ -622,7 +622,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down Expand Up @@ -668,7 +668,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down Expand Up @@ -797,7 +797,7 @@ jobs:
os:
- ubuntu-latest
node:
- 22
- 20
cypress-folder: >-
${{
fromJson(needs.e2e-wby-cms-ddb-os-constants.outputs.cypress-folders)
Expand All @@ -816,7 +816,7 @@ jobs:
steps:
- uses: actions/setup-node@v4
with:
node-version: 22
node-version: 20
- uses: actions/checkout@v4
with:
path: ${{ needs.baseBranch.outputs.base-branch }}
Expand Down
Loading

0 comments on commit fb5d015

Please sign in to comment.