File tree Expand file tree Collapse file tree 8 files changed +18764
-1480
lines changed Expand file tree Collapse file tree 8 files changed +18764
-1480
lines changed Original file line number Diff line number Diff line change @@ -3,27 +3,23 @@ name: Build
33on : [push, pull_request]
44
55jobs :
6- build :
6+ tests :
77 runs-on : ubuntu-latest
8-
9- strategy :
10- matrix :
11- node-version :
12- - 14.x
13- - 16.x
14-
158 steps :
16- - uses : actions/checkout@v1
17- - name : Use Node.js ${{ matrix.node-version }}
18- uses : actions/setup-node@v1
9+ - uses : actions/checkout@v2
10+ - uses : actions/setup-node@v2
11+ with :
12+ node-version-file : " .node-version"
13+
14+ - uses : actions/cache@v2
1915 with :
20- node-version : ${{ matrix.node-version }}
21- - name : Install
22- run : |
23- yarn install \
24- --non-interactive \
25- --frozen-lockfile
26- - name : Test
27- run : yarn test
28- env :
29- CI : true
16+ path : ~/.npm
17+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18+ restore-keys : |
19+ ${{ runner.os }}-node-
20+
21+ - run : npm install -g npm && npm --version
22+
23+ - run : npm ci
24+
25+ - run : npm test
Original file line number Diff line number Diff line change 66# node
77node_modules
88
9- # npm unused lock file (we use yarn.lock)
10- package-lock.json
11-
129# ReScript artifacts
1310# *.bs.js # we do want this files to ensure zero-cost
1411.bsb.lock
Original file line number Diff line number Diff line change 1- 12
1+ 16
Original file line number Diff line number Diff line change 88
99Fix npm description
1010
11- ## 3.1.0 - 2020-11-12
11+ ## 3.1.0 - 2020-11-16
1212
1313- 3.1.0 compat
1414- rescript-react-native 0.63
You can’t perform that action at this time.
0 commit comments