enable dep caching
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -41,6 +41,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
# https://github.com/actions/setup-node#supported-version-syntax
|
# https://github.com/actions/setup-node#supported-version-syntax
|
||||||
node-version: "16"
|
node-version: "16"
|
||||||
|
cache: "pnpm"
|
||||||
- run: npm i -g pnpm@7.5.0
|
- run: npm i -g pnpm@7.5.0
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: ${{ matrix.command.run }}
|
- run: ${{ matrix.command.run }}
|
||||||
|
|||||||
Reference in New Issue
Block a user