aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/dependency-updates.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/dependency-updates.yml')
-rw-r--r--.github/workflows/dependency-updates.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml
index 5d7d64efc..aa3fe6d39 100644
--- a/.github/workflows/dependency-updates.yml
+++ b/.github/workflows/dependency-updates.yml
@@ -22,6 +22,7 @@ jobs:
22 - name: Set env vars 22 - name: Set env vars
23 run: | 23 run: |
24 echo "NPM_CACHE=$HOME/.npm" >> $GITHUB_ENV 24 echo "NPM_CACHE=$HOME/.npm" >> $GITHUB_ENV
25 echo "PNPM_CACHE=$HOME/.pnpm-store" >> $GITHUB_ENV
25 - name: Checkout code along with submodules 26 - name: Checkout code along with submodules
26 uses: actions/checkout@v2 27 uses: actions/checkout@v2
27 with: 28 with:
@@ -40,10 +41,22 @@ jobs:
40 restore-keys: | 41 restore-keys: |
41 ${{ runner.os }}-14.17-build-${{ env.cache-name }}- 42 ${{ runner.os }}-14.17-build-${{ env.cache-name }}-
42 ${{ runner.os }}-14.17-build- 43 ${{ runner.os }}-14.17-build-
44 - name: Cache .pnpm-store
45 uses: actions/cache@v2
46 env:
47 cache-name: cache-pnpm-store
48 with:
49 path: ${{ env.PNPM_CACHE }}
50 key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
43 - name: Use Node.js 14.17.6 51 - name: Use Node.js 14.17.6
44 uses: actions/setup-node@v2 52 uses: actions/setup-node@v2
45 with: 53 with:
46 node-version: 14.17.6 54 node-version: 14.17.6
55 - name: Install pnpm
56 uses: pnpm/action-setup@v2.0.1
57 with:
58 version: 6.14.7
59 run_install: true
47 - name: Uninstall locally and reinstall global npm modules 60 - name: Uninstall locally and reinstall global npm modules
48 run: | 61 run: |
49 npm uninstall node-gyp 62 npm uninstall node-gyp