Skip to content

Commit a20d2b6

Browse files
committed
Merge remote-tracking branch 'origin/stable' into stable
2 parents 8f8b211 + 2363220 commit a20d2b6

File tree

2,428 files changed

+98273
-43220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,428 files changed

+98273
-43220
lines changed

.github/workflows/pullRequests.yml

Lines changed: 108 additions & 51 deletions
Large diffs are not rendered by default.

.github/workflows/pullRequestsCommandCypress.yml

Lines changed: 221 additions & 155 deletions
Large diffs are not rendered by default.

.github/workflows/pushDev.yml

Lines changed: 259 additions & 277 deletions
Large diffs are not rendered by default.

.github/workflows/pushNext.yml

Lines changed: 293 additions & 306 deletions
Large diffs are not rendered by default.

.github/workflows/pushStable.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,22 @@ jobs:
2525
YARN_ENABLE_IMMUTABLE_INSTALLS: false
2626
constants:
2727
name: Create constants
28-
runs-on: ubuntu-latest
2928
outputs:
3029
run-cache-key: ${{ steps.run-cache-key.outputs.run-cache-key }}
3130
steps:
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version: 18
34+
- uses: actions/checkout@v4
3235
- name: Create workflow run cache key
3336
id: run-cache-key
3437
run: >-
35-
echo "run-cache-key=-${{ github.run_id }}-${{ github.run_attempt
36-
}}-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT
38+
echo "run-cache-key=${{ github.run_id }}-${{ github.run_attempt }}-${{
39+
vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT
40+
runs-on: ubuntu-latest
41+
env:
42+
NODE_OPTIONS: '--max_old_space_size=4096'
43+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
3744
build:
3845
name: Build
3946
needs: constants
@@ -49,8 +56,10 @@ jobs:
4956
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
5057
- name: Install dependencies
5158
run: yarn --immutable
59+
working-directory: ''
5260
- name: Build packages
5361
run: yarn build:quick
62+
working-directory: ''
5463
- uses: actions/cache@v4
5564
with:
5665
path: .webiny/cached-packages
@@ -61,6 +70,7 @@ jobs:
6170
npmReleaseBeta:
6271
needs:
6372
- constants
73+
- build
6474
name: NPM release ("beta" tag)
6575
env:
6676
NODE_OPTIONS: '--max_old_space_size=4096'
@@ -85,8 +95,10 @@ jobs:
8595
key: ${{ needs.constants.outputs.run-cache-key }}
8696
- name: Install dependencies
8797
run: yarn --immutable
98+
working-directory: ''
8899
- name: Build packages
89-
run: yarn build
100+
run: yarn build:quick
101+
working-directory: ''
90102
- name: Create ".npmrc" file in the project root
91103
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
92104
- name: Set git email
@@ -126,8 +138,10 @@ jobs:
126138
key: ${{ needs.constants.outputs.run-cache-key }}
127139
- name: Install dependencies
128140
run: yarn --immutable
141+
working-directory: ''
129142
- name: Build packages
130-
run: yarn build
143+
run: yarn build:quick
144+
working-directory: ''
131145
- name: Create ".npmrc" file in the project root
132146
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
133147
- name: Set git email

.github/workflows/rebuildCache.yml

Lines changed: 0 additions & 83 deletions
This file was deleted.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# This file was automatically generated by github-actions-wac.
2+
# DO NOT MODIFY IT BY HAND. Instead, modify the source *.wac.ts file(s)
3+
# and run "github-actions-wac build" (or "ghawac build") to regenerate this file.
4+
# For more information, run "github-actions-wac --help".
5+
name: Rebuild Global Cache ("dev" branch)
6+
'on':
7+
workflow_dispatch: {}
8+
schedule:
9+
- cron: 0 4 * * *
10+
jobs:
11+
constants:
12+
name: Create constants
13+
outputs:
14+
global-cache-key: ${{ steps.global-cache-key.outputs.global-cache-key }}
15+
steps:
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 18
19+
- name: Create global cache key
20+
id: global-cache-key
21+
run: >-
22+
echo "global-cache-key=dev-${{ runner.os }}-$(/bin/date -u
23+
"+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT
24+
runs-on: ubuntu-latest
25+
env:
26+
NODE_OPTIONS: '--max_old_space_size=4096'
27+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
28+
cacheDependenciesPackages:
29+
name: Cache dependencies and packages
30+
needs: constants
31+
steps:
32+
- uses: actions/setup-node@v4
33+
with:
34+
node-version: 18
35+
- uses: actions/checkout@v4
36+
with:
37+
path: dev
38+
ref: dev
39+
- uses: actions/cache@v4
40+
with:
41+
path: dev/.yarn/cache
42+
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
43+
- uses: actions/cache@v4
44+
with:
45+
path: dev/.webiny/cached-packages
46+
key: ${{ needs.constants.outputs.global-cache-key }}
47+
- name: Install dependencies
48+
run: yarn --immutable
49+
working-directory: dev
50+
- name: Build packages
51+
run: yarn build:quick
52+
working-directory: dev
53+
runs-on: ubuntu-latest
54+
env:
55+
NODE_OPTIONS: '--max_old_space_size=4096'
56+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# This file was automatically generated by github-actions-wac.
2+
# DO NOT MODIFY IT BY HAND. Instead, modify the source *.wac.ts file(s)
3+
# and run "github-actions-wac build" (or "ghawac build") to regenerate this file.
4+
# For more information, run "github-actions-wac --help".
5+
name: Rebuild Global Cache ("next" branch)
6+
'on':
7+
workflow_dispatch: {}
8+
schedule:
9+
- cron: 0 4 * * *
10+
jobs:
11+
constants:
12+
name: Create constants
13+
outputs:
14+
global-cache-key: ${{ steps.global-cache-key.outputs.global-cache-key }}
15+
steps:
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 18
19+
- name: Create global cache key
20+
id: global-cache-key
21+
run: >-
22+
echo "global-cache-key=next-${{ runner.os }}-$(/bin/date -u
23+
"+%m%d")-${{ vars.RANDOM_CACHE_KEY_SUFFIX }}" >> $GITHUB_OUTPUT
24+
runs-on: ubuntu-latest
25+
env:
26+
NODE_OPTIONS: '--max_old_space_size=4096'
27+
YARN_ENABLE_IMMUTABLE_INSTALLS: false
28+
cacheDependenciesPackages:
29+
name: Cache dependencies and packages
30+
needs: constants
31+
steps:
32+
- uses: actions/setup-node@v4
33+
with:
34+
node-version: 18
35+
- uses: actions/checkout@v4
36+
with:
37+
path: next
38+
ref: next
39+
- uses: actions/cache@v4
40+
with:
41+
path: next/.yarn/cache
42+
key: yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
43+
- uses: actions/cache@v4
44+
with:
45+
path: next/.webiny/cached-packages
46+
key: ${{ needs.constants.outputs.global-cache-key }}
47+
- name: Install dependencies
48+
run: yarn --immutable
49+
working-directory: next
50+
- name: Build packages
51+
run: yarn build:quick
52+
working-directory: next
53+
runs-on: ubuntu-latest
54+
env:
55+
NODE_OPTIONS: '--max_old_space_size=4096'
56+
YARN_ENABLE_IMMUTABLE_INSTALLS: false

.github/workflows/wac/jobs/createJestTestsJob.ts

Lines changed: 0 additions & 77 deletions
This file was deleted.

.github/workflows/wac/jobs/createValidateWorkflowsJob.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { createJob } from "./createJob";
2+
import { NormalJob } from "github-actions-wac";
23

3-
export const createValidateWorkflowsJob = () =>
4+
type CreateValidateWorkflowsJobParams = Partial<NormalJob>;
5+
6+
export const createValidateWorkflowsJob = (params: CreateValidateWorkflowsJobParams = {}) =>
47
createJob({
58
name: "Validate workflows",
69
steps: [
@@ -12,5 +15,6 @@ export const createValidateWorkflowsJob = () =>
1215
name: "Validate",
1316
run: "npx github-actions-wac validate"
1417
}
15-
]
18+
],
19+
...params
1620
});

0 commit comments

Comments
 (0)