Skip to content

Commit

Permalink
ci(workflow): add 'npm' cache for actions/setup-node in .github/workf…
Browse files Browse the repository at this point in the history
…lows (#166)
  • Loading branch information
oscard0m committed Jul 17, 2021
1 parent b9f7fdf commit d8844fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: "12.x"
cache: npm
- run: npm ci
- run: npx pkg . --out-path=dist/
- run: npx semantic-release
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
cache: npm
- run: npm ci
- run: npm test
e2e:
Expand All @@ -24,5 +25,6 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 12
cache: npm
- run: npm ci
- run: "npm run test:e2e"
1 change: 1 addition & 0 deletions .github/workflows/update-prettier.yml
Expand Up @@ -11,6 +11,7 @@ jobs:
- uses: actions/setup-node@v2
with:
version: 12
cache: npm
- run: npm ci
- run: "npm run lint:fix"
- uses: gr2m/create-or-update-pull-request-action@v1.x
Expand Down

0 comments on commit d8844fe

Please sign in to comment.