Fix cache: combine export + pnpm install in single step
This commit is contained in:
@@ -18,13 +18,10 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Setup pnpm
|
||||
- name: Setup and install
|
||||
run: |
|
||||
export COREPACK_HOME=/pnpm-store/.corepack
|
||||
corepack enable && corepack prepare pnpm@latest --activate
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
export PNPM_STORE_DIR=/pnpm-store
|
||||
pnpm install --frozen-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user