Skip to content

Commit e231564

Browse files
mfedderlytwelch
andauthored
Update PR/develop action to cache pnpm files (#2671)
* Update PR/develop action to cache pnpm files * Install pnpm before node * empty commit for build speed testing --------- Co-authored-by: Tim Welch <[email protected]>
1 parent ccc9e1a commit e231564

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/turf.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727

28-
- name: Use Node.js ${{ matrix.node-version }}
29-
uses: actions/setup-node@v3
30-
with:
31-
node-version: ${{ matrix.node-version }}
32-
3328
- name: Install pnpm
34-
uses: pnpm/action-setup@v2
29+
uses: pnpm/action-setup@v4
3530
with:
36-
version: 8
3731
run_install: false
3832

33+
- name: Use Node.js ${{ matrix.node-version }}
34+
uses: actions/setup-node@v4
35+
with:
36+
cache: "pnpm"
37+
node-version: ${{ matrix.node-version }}
38+
3939
- run: pnpm install --frozen-lockfile
4040
- run: git diff --exit-code
4141
- run: pnpm test

0 commit comments

Comments
 (0)