File tree Expand file tree Collapse file tree 2 files changed +37
-32
lines changed Expand file tree Collapse file tree 2 files changed +37
-32
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on : pull_request
4
+
5
+ jobs :
6
+ unit-tests :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-node@v2-beta
11
+ with :
12
+ node-version : ' 14'
13
+ - name : Get yarn cache directory path
14
+ id : yarn-cache-dir-path
15
+ run : echo "::set-output name=dir::$(yarn cache dir)"
16
+ - uses : actions/cache@v2
17
+ id : yarn-cache
18
+ with :
19
+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
20
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
21
+ restore-keys : |
22
+ ${{ runner.os }}-yarn-
23
+ - run : yarn install --frozen-lockfile
24
+ - run : yarn run test
25
+ - run : yarn run lint
26
+ - run : yarn run flow
27
+ - run : yarn run smoke cjs 15.6.2
28
+ - run : yarn run smoke esm 15.6.2
29
+ - run : yarn run smoke cjs 16.7.0
30
+ - run : yarn run smoke esm 16.7.0
31
+ - run : yarn run smoke cjs 17.0.1
32
+ - run : yarn run smoke esm 17.0.1
33
+ - run : yarn run smoke cjs latest
34
+ - run : yarn run smoke esm latest
35
+ - run : yarn run smoke cjs next
36
+ - run : yarn run smoke esm next
37
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments