Corrected GH actions yarn cache again.

This commit is contained in:
Daan Vanden Bosch 2020-09-29 18:37:13 +02:00
parent eecfd9faf4
commit 3c7c3d794b
2 changed files with 10 additions and 10 deletions

View File

@ -8,19 +8,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Yarn cache
uses: actions/cache@v2
env:
cache-name: yarn-cache
with:
path: .yarn
path: .yarn/cache
key: ${{ runner.os }}-deploy-${{ env.cache-name }}
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install dependencies
uses: CultureHQ/actions-yarn@v1.0.1
with:

View File

@ -11,17 +11,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Yarn cache
uses: actions/cache@v2
env:
cache-name: yarn-cache
with:
path: .yarn
path: .yarn/cache
key: ${{ runner.os }}-tests-${{ env.cache-name }}
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
uses: CultureHQ/actions-yarn@v1.0.1
with: