Skip to content

Commit a388b3f

Browse files
committed
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
1 parent ad01d13 commit a388b3f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

100755100644
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ on:
66
- main
77
- releases/*
88
paths-ignore:
9-
- '**.md'
9+
- "**.md"
1010
pull_request:
1111
paths-ignore:
12-
- '**.md'
12+
- "**.md"
1313

1414
jobs:
1515
build:
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/setup-node@v2
2525
with:
2626
node-version: 12.x
27+
cache: npm
2728
- run: npm ci
2829
- run: npm run build
2930
- run: npm run format-check

0 commit comments

Comments
 (0)