File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 3131 node-version : [lts/*, latest]
3232 os : [ubuntu-latest, windows-latest, macos-latest]
3333 runs-on : ${{ matrix.os }}
34+ steps :
35+ - name : Checkout the repository
36+ uses : actions/checkout@v3
37+ - name : Use Node ${{ matrix.node-version }}
38+ uses : actions/setup-node@v3
39+ with :
40+ node-version : ${{ matrix.node-version }}
41+ - name : Run library tests
42+ run : |
43+ npm ci
44+ npm run test:lib
45+ test-integration :
46+ name : Test (Integration)
47+ needs : [test-library]
48+ runs-on : ubuntu-latest
3449 services :
3550 redis :
3651 image : redis:7
@@ -45,11 +60,11 @@ jobs:
4560 steps :
4661 - name : Checkout the repository
4762 uses : actions/checkout@v3
48- - name : Use Node ${{ matrix.node-version }}
63+ - name : Use Node lts/*
4964 uses : actions/setup-node@v3
5065 with :
51- node-version : ${{ matrix.node-version }}
52- - name : Run library tests
66+ node-version : lts/*
67+ - name : Run integration tests
5368 run : |
5469 npm ci
5570 npm run test:lib
5873 REDIS_CLUSTER_PORT : 7000
5974 publish :
6075 name : Publish
61- needs : [lint, test-library]
76+ needs : [lint, test-library, test-integration ]
6277 if : startsWith(github.ref, 'refs/tags/v')
6378 runs-on : ubuntu-latest
6479 permissions :
You can’t perform that action at this time.
0 commit comments