Skip to content

Commit 38eada0

Browse files
committed
add npm cache to github CI
1 parent 649ba3a commit 38eada0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- uses: actions/setup-node@v3
2121
with:
2222
node-version: 14
23+
cache: 'npm'
2324

2425
- run: npm ci
2526
- run: npm run lint
@@ -52,6 +53,7 @@ jobs:
5253
- uses: actions/setup-node@v3
5354
with:
5455
node-version: ${{ matrix.node }}
56+
cache: 'npm'
5557

5658
# for test cache hits
5759
- run: npm i -g [email protected]
@@ -77,6 +79,7 @@ jobs:
7779
- uses: actions/setup-node@v3
7880
with:
7981
node-version: 14
82+
cache: 'npm'
8083

8184
- uses: kellyselden/ember-cli-update-action@v5
8285
with:

0 commit comments

Comments
 (0)