Skip to content

Commit 1ceea15

Browse files
committed
chore: fix CI testing matrix
1 parent 762f3f5 commit 1ceea15

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,17 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- uses: actions/checkout@v2
21-
- name: Use Node.js 14.x
22-
uses: actions/setup-node@v1
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v2
2323
with:
24-
node-version: '14'
24+
node-version: ${{ matrix.node }}
25+
cache: yarn
2526

26-
# From: https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#example-using-the-cache-action
27-
- name: Cache node modules
28-
uses: actions/cache@v2
29-
env:
30-
cache-name: cache-node-modules
31-
with:
32-
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
33-
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
34-
restore-keys: |
35-
${{ runner.os }}-build-${{ env.cache-name }}-
36-
${{ runner.os }}-build-
37-
${{ runner.os }}-
3827
- name: Install Dependencies
39-
run: npm ci
28+
run: yarn install --frozen-lockfile
29+
30+
- name: Bootstrap Dependencies
31+
run: yarn bootstrap
4032

4133
- name: Test
42-
run: npm test
34+
run: yarn test

0 commit comments

Comments
 (0)