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
22on :
33 push :
44 branches :
5- - master
5+ - master
66 pull_request :
77jobs :
88 test :
99 strategy :
1010 matrix :
11- node-version : [10, 12, 14, 16]
11+ node-version : [16]
1212 platform : [ubuntu-latest, macos-latest, windows-latest]
1313 runs-on : ${{ matrix.platform }}
1414 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