File tree Expand file tree Collapse file tree 2 files changed +30
-18
lines changed Expand file tree Collapse file tree 2 files changed +30
-18
lines changed Original file line number Diff line number Diff line change 1+ name : Unit tests
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v2
10+ - uses : actions/setup-node@v2-beta
11+ with :
12+ node-version : ' 12'
13+ check-latest : true
14+ - name : yarn cache dir
15+ id : yarn-cache-dir-path
16+ run : echo "::set-output name=dir::$(yarn cache dir)"
17+ - uses : actions/cache@v2
18+ with :
19+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
20+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.json') }}
21+ restore-keys : |
22+ ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.json') }}
23+ ${{ runner.os }}-yarn-
24+ ${{ runner.os }}-
25+ - name : yarn test
26+ run : |
27+ yarn install --frozen-lockfile
28+ yarn lint
29+ yarn build
30+ yarn test:all
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments