diff options
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 9272126..4518bd2 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -45,6 +45,13 @@ jobs: | |||
45 | restore-keys: | | 45 | restore-keys: | |
46 | build-${{ env.cache-name }}- | 46 | build-${{ env.cache-name }}- |
47 | build- | 47 | build- |
48 | - name: Cache pnpm modules | ||
49 | uses: actions/cache@v2 | ||
50 | env: | ||
51 | cache-name: cache-pnpm-store | ||
52 | with: | ||
53 | path: ${{ env.PNPM_CACHE }} | ||
54 | key: ${{ runner.os }}-14.17-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
48 | - name: Use Node.js 14.17.6 | 55 | - name: Use Node.js 14.17.6 |
49 | uses: actions/setup-node@v2 | 56 | uses: actions/setup-node@v2 |
50 | with: | 57 | with: |
@@ -53,6 +60,5 @@ jobs: | |||
53 | uses: pnpm/action-setup@v2.0.1 | 60 | uses: pnpm/action-setup@v2.0.1 |
54 | with: | 61 | with: |
55 | version: 6.14.7 | 62 | version: 6.14.7 |
56 | run_install: true | ||
57 | - name: Install node dependencies recursively | 63 | - name: Install node dependencies recursively |
58 | run: pnpm i && pnpm run package | 64 | run: pnpm i && pnpm run package |