fixed cypress cache folder

This commit is contained in:
Christian Klemm
2019-11-12 22:04:47 +01:00
committed by GitHub
parent 34707a057b
commit b1305644f4

View File

@@ -8,6 +8,8 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [10.x, 12.x] node-version: [10.x, 12.x]
env:
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/cypress
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Setup Node.js ${{ matrix.node-version }} - name: Setup Node.js ${{ matrix.node-version }}
@@ -29,10 +31,8 @@ jobs:
${{ runner.OS }}- ${{ runner.OS }}-
- name: Install Packages - name: Install Packages
run: rm -rf $GITHUB_WORKSPACE/.cache && yarn install --frozen-lockfile --force run: yarn install --frozen-lockfile
env:
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/cypress
- name: Run Build - name: Run Build
run: yarn build run: yarn build