Skip to content

Commit

Permalink
ci: set up node before running yarn and use caching everywhere (vega#…
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored and BradyJ27 committed Oct 19, 2023
1 parent 4387fb3 commit 58e17be
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 58e17be

Please sign in to comment.