We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45f6ef commit 69aa7f4Copy full SHA for 69aa7f4
.github/workflows/main.yml
@@ -22,8 +22,21 @@ jobs:
22
- name: Install PNPM
23
run: npm install -g pnpm
24
25
- - name: Install deps and build (with cache)
26
- uses: bahmutov/npm-install@v1
+ - name: Get PNPM store directory
+ shell: bash
27
+ run: |
28
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
29
+
30
+ - name: Setup PNPM cache
31
+ uses: actions/cache@v3
32
+ with:
33
+ path: ${{ env.STORE_PATH }}
34
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
35
+ restore-keys: |
36
+ ${{ runner.os }}-pnpm-store-
37
38
+ - name: Install dependencies
39
+ run: pnpm install --frozen-lockfile
40
41
- name: Lint
42
run: pnpm lint
0 commit comments