Skip to content

Commit 34bb07b

Browse files
committed
chore: Synced local '.github/' with remote 'sync-files/js/.github/'
1 parent 0221256 commit 34bb07b

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
test:
1919
runs-on: ubuntu-latest
2020
steps:
21+
- uses: actions/cache@v2
22+
with:
23+
path: ~/.npm
24+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+
restore-keys: |
26+
${{ runner.os }}-node-
2127
- uses: actions/checkout@v2
2228
- run: npm i
2329
- run: npm run lint

.github/workflows/docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
test:
1919
runs-on: ubuntu-latest
2020
steps:
21+
- uses: actions/cache@v2
22+
with:
23+
path: ~/.npm
24+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
25+
restore-keys: |
26+
${{ runner.os }}-node-
2127
- uses: actions/checkout@v2
2228
- run: |
2329
npm i

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
build:
2323
runs-on: ubuntu-latest
2424
steps:
25+
- uses: actions/cache@v2
26+
with:
27+
path: ~/.npm
28+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
29+
restore-keys: |
30+
${{ runner.os }}-node-
2531
- uses: actions/checkout@v2
2632
- name: Test
2733
run: |

0 commit comments

Comments
 (0)