Add gatsby cache
This commit is contained in:
parent
84185c947b
commit
7f81336969
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -27,8 +27,13 @@ jobs:
|
|||||||
cache: yarn
|
cache: yarn
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --prod --pure-lockfile
|
run: yarn install --prod --pure-lockfile
|
||||||
- name: Lint
|
- name: Cache gatsby cache
|
||||||
run: yarn run lint
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
key: ${{ runner.os }}-gatsby-build-${{ github.run_id }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-gatsby-build-
|
||||||
|
path: .cache
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn run build
|
run: yarn run build
|
||||||
- name: upload
|
- name: upload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user