Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
paulz committed Jul 12, 2022
1 parent c408b9e commit 076f4de
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Yarn install with caching
uses: bahmutov/npm-install@v1
cache: yarn
- name: Install Node dependencies
run: yarn install --frozen-lockfile
- name: Visual regression testing
uses: bokuweb/reg-actions@v1
with:
Expand Down

0 comments on commit 076f4de

Please sign in to comment.