Skip to content

Commit 1b11d02

Browse files
committed
chore: use turbo cache in ci
1 parent 82709d7 commit 1b11d02

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,22 @@ jobs:
4141
- name: Install dependencies
4242
run: pnpm i --frozen-lockfile
4343

44-
# Set up GitHub Actions caching for Wireit.
45-
- uses: google/wireit@setup-github-actions-caching/v2
44+
# Set up GitHub Actions caching for Turborepo
45+
- uses: actions/cache@v4
46+
with:
47+
path: .turbo
48+
key: ${{ runner.os }}-turbo-${{ github.sha }}
49+
restore-keys: |
50+
${{ runner.os }}-turbo-
4651
4752
- name: Build
48-
run: pnpm run build
53+
run: pnpm turbo build
4954

5055
- name: Lint
51-
run: pnpm run lint:check
56+
run: pnpm turbo lint:check
5257

5358
- name: Test
54-
run: pnpm run test
59+
run: pnpm turbo test
5560

5661
todo-to-issue:
5762
needs: build-and-test

0 commit comments

Comments
 (0)