Skip to content

Commit c209e55

Browse files
committed
CI cache
1 parent 3994528 commit c209e55

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,14 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222

23-
- name: Install dependencies and build (with cache)
24-
uses: bahmutov/npm-install@v1
23+
- name: Cache Dependencies
24+
uses: actions/cache@v2
25+
with:
26+
path: ./node_modules
27+
key: ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }}
28+
29+
- name: Install Dependencies & Build
30+
run: yarn install --frozen-lockfile
2531

2632
- name: Lint
2733
run: yarn lint

0 commit comments

Comments
 (0)