File tree Expand file tree Collapse file tree 4 files changed +1115
-54
lines changed Expand file tree Collapse file tree 4 files changed +1115
-54
lines changed Original file line number Diff line number Diff line change
1
+ name : Main workflow
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ test :
7
+ strategy :
8
+ matrix :
9
+ os : [macos-latest, ubuntu-latest]
10
+ node-version : [8.x]
11
+
12
+ runs-on : ${{ matrix.os }}
13
+
14
+ env :
15
+ BS_TRAVIS_CI : 1
16
+ OCAMLRUNPARAM : b
17
+
18
+ steps :
19
+ - name : Checkout code
20
+ uses : actions/checkout@v2
21
+
22
+ - name : Checkout submodules
23
+ run : |
24
+ auth_header="$(git config --local --get http.https://github.com/.extraheader)"
25
+ git submodule sync --recursive
26
+ git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
27
+
28
+ - name : Use Node.js ${{ matrix.node-version }}
29
+ uses : actions/setup-node@v1
30
+ with :
31
+ node-version : ${{ matrix.node-version }}
32
+
33
+ - name : Install packages
34
+ run : npm ci
35
+
36
+ - name : Run tests
37
+ run : npm test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments