Skip to content

Commit 69aaace

Browse files
committed
fix: ci
1 parent 22b4014 commit 69aaace

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ runs:
1616
node-version: 'lts/*'
1717
cache: 'yarn'
1818

19-
- name: Install dependencies
20-
run: yarn install
21-
shell: bash
22-
23-
- name: Build packages
24-
run: yarn build
25-
shell: bash
26-
2719
- name: Restore Turbo cache
2820
if: inputs.restore-turbo-cache == 'true'
2921
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
@@ -32,6 +24,14 @@ runs:
3224
.turbo
3325
apps/*/.turbo
3426
packages/*/.turbo
35-
key: ${{ runner.os }}-turbo-${{ hashFiles('.turbo', '**/.turbo') }}
27+
key: ${{ runner.os }}-turbo-${{ hashFiles('yarn.lock', 'package-lock.json', 'pnpm-lock.yaml', 'turbo.json', 'apps/*/turbo.json', 'packages/*/turbo.json') }}
3628
restore-keys: |
3729
${{ runner.os }}-turbo-
30+
31+
- name: Install dependencies
32+
run: yarn install
33+
shell: bash
34+
35+
- name: Build packages
36+
run: yarn build
37+
shell: bash

0 commit comments

Comments
 (0)