mirror of
https://github.com/actions/setup-java.git
synced 2024-12-25 00:12:17 -05:00
Merge pull request #196 from oscard0m/add-cache-to-node-workflows
ci(workflow): add cache to workflows using actions/setup-node
This commit is contained in:
commit
d8da887cad
1 changed files with 1 additions and 0 deletions
1
.github/workflows/build.yml
vendored
Executable file → Normal file
1
.github/workflows/build.yml
vendored
Executable file → Normal file
|
@ -24,6 +24,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