Skip to content

Commit 64a52f6

Browse files
committed
pnpm
1 parent 4fa8442 commit 64a52f6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/pipedream-sdk-test.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21+
- uses: pnpm/[email protected]
22+
with:
23+
version: 9.14.2
24+
- name: Get pnpm store directory
25+
id: pnpm-cache
26+
run: |
27+
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
28+
- uses: actions/cache@v4
29+
name: Setup pnpm cache
30+
with:
31+
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
32+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
33+
restore-keys: |
34+
${{ runner.os }}-pnpm-store-
35+
2136
- name: Set up Node.js
2237
uses: actions/setup-node@v3
2338
with:

0 commit comments

Comments
 (0)