We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 308a744 commit e460097Copy full SHA for e460097
.github/workflows/main.yml
@@ -37,7 +37,25 @@ jobs:
37
uses: actions/setup-node@v4
38
with:
39
node-version: lts/*
40
- cache: 'pnpm' # Set this to npm, yarn or pnpm.
+
41
+ - name: Install pnpm
42
+ uses: pnpm/action-setup@v2
43
+ with:
44
+ version: latest
45
46
+ - name: Get pnpm store directory
47
+ id: pnpm-cache
48
+ shell: bash
49
+ run: |
50
+ echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
51
52
+ - name: Setup pnpm cache
53
+ uses: actions/cache@v3
54
55
+ path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
56
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
57
+ restore-keys: |
58
+ ${{ runner.os }}-pnpm-store-
59
60
- name: install Rust stable
61
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
0 commit comments