Skip to content

Commit 4c93b8f

Browse files
authored
leverage github actions cache for stepped job workflow (#3365)
* Cache builds, node modules, normalize versions - create a more sensible workflow for PRs - cache node_modules and build output between jobs - normalize package.json versions across the monorepo, reduce yarn.lock by 1.2-1.4k lines - enhance e2e suite visibility - add .vscode settings - upgrade js-green-licenses
1 parent 2348641 commit 4c93b8f

File tree

34 files changed

+580
-1820
lines changed

34 files changed

+580
-1820
lines changed

.github/workflows/canary.yml

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

.github/workflows/license-check.yml

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

.github/workflows/pr-check.yml

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

.github/workflows/pr-e2e-tests.yml

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

.github/workflows/pr-graphql-compat-check.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ jobs:
3030

3131
- uses: actions/setup-node@v3
3232
with:
33-
cache: 'yarn'
33+
cache: yarn
3434
node-version: 16
35-
35+
- name: Cache node modules
36+
uses: actions/cache@v3
37+
with:
38+
path: node_modules
39+
key: node_modules-${{hashFiles('yarn.lock')}}
40+
restore-keys: node_modules-
3641
- name: Force GraphQL ${{ matrix.release }} solution
3742
run: yarn repo:resolve graphql@${{ matrix.release }}
3843

.github/workflows/pr-tests.yml

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

0 commit comments

Comments
 (0)