mirror of
https://github.com/actions/setup-node
synced 2024-12-22 21:22:42 +00:00
ci(workflow): add cache to workflows using actions/setup-node (#287)
This commit is contained in:
parent
7a0f7a9962
commit
5e2e068714
1 changed files with 4 additions and 3 deletions
1
.github/workflows/build-test.yml
vendored
1
.github/workflows/build-test.yml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 12.x
|
||||||
|
cache: npm
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run format-check
|
- run: npm run format-check
|
||||||
|
|
Loading…
Reference in a new issue