File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change @@ -18,25 +18,17 @@ jobs:
18
18
runs-on : ${{ matrix.os }}
19
19
steps :
20
20
- 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
23
23
with :
24
- node-version : ' 14'
24
+ node-version : ${{ matrix.node }}
25
+ cache : yarn
25
26
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 }}-
38
27
- name : Install Dependencies
39
- run : npm ci
28
+ run : yarn install --frozen-lockfile
29
+
30
+ - name : Bootstrap Dependencies
31
+ run : yarn bootstrap
40
32
41
33
- name : Test
42
- run : npm test
34
+ run : yarn test
You can’t perform that action at this time.
0 commit comments