Skip to content

Commit

Permalink
ci: set up node before running yarn and use caching everywhere (#8328)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Jul 31, 2022
1 parent 27e72d3 commit 3b9bdb7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-docs-and-schema.yml
Expand Up @@ -15,6 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
cache: 'yarn'

- name: Install Node dependencies
run: yarn --frozen-lockfile

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Expand Up @@ -56,14 +56,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Node dependencies
run: yarn --frozen-lockfile

- name: Setup Node
uses: actions/setup-node@v3
with:
cache: 'yarn'

- name: Install Node dependencies
run: yarn --frozen-lockfile

- name: Install extra dependencies for Puppeteer
run: sudo apt-get install libgbm1

Expand Down Expand Up @@ -95,14 +95,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Node dependencies
run: yarn --frozen-lockfile

- name: Setup Node
uses: actions/setup-node@v3
with:
cache: 'yarn'

- name: Install Node dependencies
run: yarn --frozen-lockfile

- name: Build
run: yarn build:only

Expand Down

0 comments on commit 3b9bdb7

Please sign in to comment.