File tree Expand file tree Collapse file tree 3 files changed +45
-20
lines changed Expand file tree Collapse file tree 3 files changed +45
-20
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint Project
2
+ on :
3
+ push :
4
+ pull_request :
5
+ jobs :
6
+ lint :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v3
11
+
12
+ - name : Install Node.js
13
+ uses : actions/setup-node@v3
14
+ with :
15
+ node-version : 16.x
16
+
17
+ - name : Install Module Dependencies
18
+ run : npm clean-install --no-optional
19
+
20
+ - name : Lint Project
21
+ run : npx tslint --project tsconfig.json
Original file line number Diff line number Diff line change
1
+ name : Unit Test Project
2
+ on :
3
+ push :
4
+ pull_request :
5
+ jobs :
6
+ unit_test :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - name : Checkout
10
+ uses : actions/checkout@v3
11
+
12
+ - name : Install Node.js
13
+ uses : actions/setup-node@v3
14
+ with :
15
+ node-version : 16.x
16
+
17
+ - name : Install Module Dependencies
18
+ run : npm clean-install --no-optional
19
+
20
+ - name : Compile Project
21
+ run : npx tsc --project ./
22
+
23
+ - name : Test Project
24
+ run : xvfb-run --auto-servernum node ./out/src/test/runTest.js
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments