File tree Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -2,25 +2,29 @@ name: Node.js Unit CI
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - master
6
6
pull_request :
7
7
jobs :
8
8
test :
9
9
strategy :
10
10
matrix :
11
- node-version : [10, 12, 14, 16]
11
+ node-version : [16]
12
12
platform : [ubuntu-latest, macos-latest, windows-latest]
13
13
runs-on : ${{ matrix.platform }}
14
14
steps :
15
- - name : Checkout
16
- uses : actions/checkout@v2
17
- - name : Use Node.js ${{ matrix.node-version }}
18
- uses : actions/setup-node@v2
19
- with :
20
- node-version : ${{ matrix.node-version }}
21
- - name : Install dependencies
22
- run : npm install
23
- - name : Build TypeScript project
24
- run : npm run build --if-present
25
- - name : Test
26
- run : npm test
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ - name : Use Node.js ${{ matrix.node-version }}
18
+ uses : actions/setup-node@v2
19
+ with :
20
+ node-version : ${{ matrix.node-version }}
21
+ - name : Install Dapr
22
+ uses : dapr/setup-dapr@v1
23
+ with :
24
+ version : ' 1.5.1'
25
+ - name : Install dependencies
26
+ run : npm install
27
+ - name : Build TypeScript project
28
+ run : npm run build --if-present
29
+ - name : Test
30
+ run : npm test
You can’t perform that action at this time.
0 commit comments