diff --git a/.github/workflows/pushDev.yml b/.github/workflows/pushDev.yml index 0bab9b9488c..7dabb708834 100644 --- a/.github/workflows/pushDev.yml +++ b/.github/workflows/pushDev.yml @@ -56,6 +56,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -87,6 +89,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -122,6 +126,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -163,6 +169,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -220,6 +228,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -282,6 +292,8 @@ jobs: role-to-assume: arn:aws:iam::726952677045:role/GitHubActionsWebinyJs aws-region: eu-central-1 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -346,6 +358,8 @@ jobs: role-to-assume: arn:aws:iam::726952677045:role/GitHubActionsWebinyJs aws-region: eu-central-1 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -541,6 +555,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -749,6 +765,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -957,6 +975,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache diff --git a/.github/workflows/pushNext.yml b/.github/workflows/pushNext.yml index 5f627071944..ae798700015 100644 --- a/.github/workflows/pushNext.yml +++ b/.github/workflows/pushNext.yml @@ -56,6 +56,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -87,6 +89,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -122,6 +126,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -163,6 +169,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -220,6 +228,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -282,6 +292,8 @@ jobs: role-to-assume: arn:aws:iam::726952677045:role/GitHubActionsWebinyJs aws-region: eu-central-1 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -346,6 +358,8 @@ jobs: role-to-assume: arn:aws:iam::726952677045:role/GitHubActionsWebinyJs aws-region: eu-central-1 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -541,6 +555,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -749,6 +765,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache @@ -957,6 +975,8 @@ jobs: with: node-version: 18 - uses: actions/checkout@v4 + with: + path: webiny-js - uses: actions/cache@v4 with: path: webiny-js/.yarn/cache diff --git a/.github/workflows/wac/push.wac.ts b/.github/workflows/wac/push.wac.ts index ec00d42370a..0e28e71a4ef 100644 --- a/.github/workflows/wac/push.wac.ts +++ b/.github/workflows/wac/push.wac.ts @@ -204,6 +204,7 @@ const createCypressJobs = (dbSetup: string) => { }, environment: "next", env, + checkout: { path: DIR_WEBINY_JS }, steps: [ ...yarnCacheSteps, ...buildRunCacheSteps, @@ -265,6 +266,7 @@ const createJestTestsJob = (storage: string | null) => { "runs-on": "${{ matrix.os }}", env, awsAuth: storage === "ddb-es" || storage === "ddb-os", + checkout: { path: DIR_WEBINY_JS }, steps: [ ...yarnCacheSteps, ...buildRunCacheSteps, @@ -307,6 +309,7 @@ const createPushWorkflow = (branchName: string) => { build: createJob({ name: "Build", needs: "constants", + checkout: { path: DIR_WEBINY_JS }, "runs-on": "blacksmith-4vcpu-ubuntu-2204", steps: [ ...yarnCacheSteps, @@ -318,6 +321,7 @@ const createPushWorkflow = (branchName: string) => { codeAnalysis: createJob({ name: "Static code analysis", needs: ["constants", "build"], + checkout: { path: DIR_WEBINY_JS }, steps: [ ...yarnCacheSteps, ...buildRunCacheSteps, @@ -336,6 +340,7 @@ const createPushWorkflow = (branchName: string) => { staticCodeAnalysisTs: createJob({ name: "Static code analysis (TypeScript)", "runs-on": "blacksmith-4vcpu-ubuntu-2204", + checkout: { path: DIR_WEBINY_JS }, steps: [ ...yarnCacheSteps,