File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Run Tests
3
3
on : [push]
4
4
5
5
jobs :
6
- test :
6
+ unit- test :
7
7
runs-on : ${{ matrix.os }}
8
8
strategy :
9
9
matrix :
19
19
run : npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
20
20
- name : Install dependencies
21
21
run : npm install
22
- - name : Run Tests
22
+ - name : Run unit tests
23
23
run : npm run test:ci
24
+ e2e-test :
25
+ runs-on : ${{ matrix.os }}
26
+ strategy :
27
+ matrix :
28
+ node-version : [16.x]
29
+ os : [ubuntu-latest, macOS-latest]
30
+ steps :
31
+ - uses : actions/checkout@v3
32
+ - name : Use Node.js ${{ matrix.node-version }}
33
+ uses : actions/setup-node@v3
34
+ with :
35
+ node-version : ${{ matrix.node-version }}
36
+ - name : Configure NPM Token
37
+ run : npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
38
+ - name : Install dependencies
39
+ run : npm install
40
+ - name : Run unit tests
41
+ run : npm run test:e2e:ci
24
42
You can’t perform that action at this time.
0 commit comments