mirror of
https://github.com/gradle/actions.git
synced 2025-08-26 20:01:28 +08:00
Cache npm
This commit is contained in:
parent
8bac4a819c
commit
d28f25d60a
2
.github/actions/build-dist/action.yml
vendored
2
.github/actions/build-dist/action.yml
vendored
@ -6,6 +6,8 @@ runs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
cache-dependency-path: sources/package-lock.json
|
||||
- name: Build distribution
|
||||
shell: bash
|
||||
run: |
|
||||
|
2
.github/workflows/ci-verify-outputs.yml
vendored
2
.github/workflows/ci-verify-outputs.yml
vendored
@ -20,6 +20,8 @@ jobs:
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
cache-dependency-path: sources/package-lock.json
|
||||
- name: Build
|
||||
run: |
|
||||
npm -v
|
||||
|
Loading…
x
Reference in New Issue
Block a user