feat(ci): cache npm packages
This commit is contained in:
parent
e7e029c04f
commit
946af425e7
|
@ -26,9 +26,13 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: "lts/*"
|
||||||
|
cache: npm
|
||||||
|
cache-dependency-path: webpack/package-lock.json
|
||||||
|
|
||||||
- uses: pdm-project/setup-pdm@v4
|
- uses: pdm-project/setup-pdm@v4
|
||||||
with:
|
with:
|
||||||
cache: true
|
cache: true
|
||||||
|
|
Loading…
Reference in New Issue