Skip to content

Commit

Permalink
Migrate to simple yarn cache (#1608)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound authored Oct 15, 2021
1 parent 4377ea3 commit 4166c32
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE }}
- name: Set up yarn cache
uses: actions/cache@v2
with:
path: |
~/.cache/ms-playwright
.yarn/cache
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('yarn.lock') }}
cache: yarn
- run: yarn install
- run: yarn lint
- run: yarn typecheck
Expand All @@ -38,15 +30,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE }}
- name: Set up yarn cache
uses: actions/cache@v2
with:
path: |
~/.cache/ms-playwright
.yarn/cache
key: ${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ env.NODE }}-${{ hashFiles('yarn.lock') }}
cache: yarn
- run: yarn install
- run: yarn test-regression
test:
Expand All @@ -65,15 +49,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Set up yarn cache
uses: actions/cache@v2
with:
path: |
~/.cache/ms-playwright
.yarn/cache
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('yarn.lock') }}
cache: yarn
- run: yarn install
- run: yarn test
- run: yarn test-browser

0 comments on commit 4166c32

Please sign in to comment.