Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: set up node before running yarn and use caching everywhere #8328

Merged
merged 2 commits into from Jul 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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