Skip to content

Commit e852c5f

Browse files
committed
try reset cache
1 parent d6489b8 commit e852c5f

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,6 @@ jobs:
1414
name: Setup
1515
runs-on: ubuntu-20.04
1616

17-
steps:
18-
- name: Load current commit
19-
uses: actions/checkout@v3
20-
with:
21-
ref: ${{ github.ref }}
22-
23-
- name: Setup Node.js
24-
uses: volta-cli/action@v4
25-
26-
- name: Restore cache
27-
uses: actions/cache@v3
28-
id: yarn-cache
29-
if: github.event_name == 'pull_request' || github.event_name == 'push'
30-
with:
31-
path: '**/node_modules'
32-
key: ${{ runner.os }}-modules-1-${{ hashFiles('**/yarn.lock') }}
33-
34-
- name: Install dependencies
35-
if: steps.yarn-cache.outputs.cache-hit != 'true'
36-
run: |
37-
yarn --frozen-lockfile --no-progress
38-
3917
static-checks:
4018
name: Static checks
4119
needs: setup
@@ -56,7 +34,7 @@ jobs:
5634
if: github.event_name == 'pull_request' || github.event_name == 'push'
5735
with:
5836
path: '**/node_modules'
59-
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
37+
key: ${{ runner.os }}-modules-1-${{ hashFiles('**/yarn.lock') }}
6038

6139
- name: Install dependencies
6240
if: steps.yarn-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)