Skip to content

Commit 17e5993

Browse files
committed
build: update cache params
1 parent f9df5a5 commit 17e5993

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
node-version: 20
5555
cache: 'npm'
5656
- name: Install dependencies
57-
run: npm ci
57+
run: npm install
5858
- name: Publish to Chromatic
5959
uses: chromaui/action@v10
6060
continue-on-error: true

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
# pulls all commits (needed for lerna / semantic release to correctly version)
3333
fetch-depth: '0'
3434

35-
- name: Cache turbo build setup
35+
- name: Cache build setup
3636
uses: actions/cache@v3
3737
with:
38-
path: .turbo
39-
key: ${{ runner.os }}-turbo-${{ github.sha }}
38+
path: node_modules/.cache
39+
key: ${{ runner.os }}-cache-${{ github.sha }}
4040
restore-keys: |
41-
${{ runner.os }}-turbo-
41+
${{ runner.os }}-cache-
4242
4343
- name: Use Node.js 20
4444
uses: actions/setup-node@v4

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ jobs:
4343

4444
steps:
4545
- uses: actions/checkout@v4
46-
- name: Cache turbo build setup
46+
- name: Cache build setup
4747
uses: actions/cache@v3
4848
with:
49-
path: .turbo
50-
key: ${{ runner.os }}-turbo-${{ github.sha }}
49+
path: node_modules/.cache
50+
key: ${{ runner.os }}-cache-${{ github.sha }}
5151
restore-keys: |
52-
${{ runner.os }}-turbo-
52+
${{ runner.os }}-cache-
5353
- name: Use Node.js ${{ matrix.node-version }}
5454
uses: actions/setup-node@v4
5555
with:

0 commit comments

Comments
 (0)