File tree Expand file tree Collapse file tree 4 files changed +32
-5
lines changed Expand file tree Collapse file tree 4 files changed +32
-5
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14+ name : Build & Lint
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : Specifically use node 16 like in the readme.
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : ' 16'
23+ - run : yarn install
24+ - run : yarn build
25+ - run : yarn lint
26+ unit :
27+ name : Unit tests
28+ runs-on : ubuntu-latest
29+ steps :
30+ - uses : actions/checkout@v3
31+ - name : Specifically use node 16 like in the readme.
32+ uses : actions/setup-node@v3
33+ with :
34+ node-version : ' 16'
35+ - run : yarn install
36+ - run : yarn test
37+ integration :
1438 name : Integration tests
1539 runs-on : ubuntu-latest
1640 timeout-minutes : 60
1741 steps :
18- - uses : actions/checkout@v2
42+ - uses : actions/checkout@v3
43+ - uses : actions/setup-node@v3
44+ with :
45+ node-version : ' 16'
1946 - name : install mx-tester
2047 run : cargo install mx-tester
2148 - name : Setup image
Original file line number Diff line number Diff line change 1- FROM node:14 -alpine
1+ FROM node:16 -alpine
22COPY . /tmp/src
33RUN cd /tmp/src \
44 && yarn install \
Original file line number Diff line number Diff line change 1- To build mjolnir, you have to have installed ` yarn ` 1.x and Node 14 .
1+ To build mjolnir, you have to have installed ` yarn ` 1.x and Node 16 .
22
33``` bash
44git clone https://github.com/matrix-org/mjolnir.git
@@ -12,4 +12,4 @@ cp config/default.yaml config/development.yaml
1212nano config/development.yaml
1313
1414node lib/index.js
15- ```
15+ ```
Original file line number Diff line number Diff line change 4848 "shell-quote" : " ^1.7.3"
4949 },
5050 "engines" : {
51- "node" : " >=14 .0.0"
51+ "node" : " >=16 .0.0"
5252 }
5353}
You can’t perform that action at this time.
0 commit comments