Add gatsby cache

This commit is contained in:
Chuck Dries 2021-07-16 21:54:57 -07:00
parent 84185c947b
commit 7f81336969

View File

@ -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