@@ -26,34 +26,41 @@ jobs:
2626 - name : Setup Environment
2727 uses : jdx/mise-action@v3
2828
29- - uses : actions/cache@v4
29+ - name : Get PNPM store
30+ id : pnpm-cache
31+ shell : bash
32+ run : |
33+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
34+
35+ - name : Setup pnpm cache
36+ uses : actions/cache@v4
3037 with :
31- path : ~/.bun/install/ cache
32- key : ${{ runner.os }}-bun- ${{ hashFiles('**/bun.lockb ') }}
38+ path : ${{ steps.pnpm- cache.outputs.STORE_PATH }}
39+ key : ${{ runner.os }}-pnpm-store- ${{ hashFiles('**/pnpm-lock.yaml ') }}
3340 restore-keys : |
34- ${{ runner.os }}-bun -
41+ ${{ runner.os }}-pnpm-store -
3542
3643 - name : Install dependencies
37- run : bun install --frozen-lockfile
44+ run : pnpm install --frozen-lockfile
3845
3946 - name : Link scripts package binary
4047 run : |
4148 cd packages/scripts
42- bun link
49+ pnpm link
4350 cd ../..
44- bun link @tcd-devkit/scripts
51+ pnpm link @tcd-devkit/scripts
4552
4653 - name : Run types
47- run : bun turbo lint:types --affected
54+ run : pnpm turbo lint:types --affected
4855
4956 - name : Run prettier
50- run : bun turbo root-lint:prettier
57+ run : pnpm turbo root-lint:prettier
5158
5259 - name : Run eslint
53- run : bun turbo root-lint:eslint
60+ run : pnpm turbo root-lint:eslint
5461
5562 - name : Run tests
56- run : bun turbo unit --affected
63+ run : pnpm turbo unit --affected
5764
5865 - name : Run build
59- run : bun turbo build --affected
66+ run : pnpm turbo build --affected
0 commit comments