32 npm-i: mocha@3.5.3 supertest@2.0.0
36 npm-i: mocha@3.5.3 supertest@2.0.0
40 npm-i: mocha@3.5.3 supertest@2.0.0
44 npm-i: mocha@3.5.3 supertest@2.0.0
48 npm-i: mocha@3.5.3 supertest@2.0.0
52 npm-i: mocha@5.2.0 supertest@3.4.2
56 npm-i: mocha@5.2.0 supertest@3.4.2
84 - uses: actions/checkout@v2
86 - name: Install Node.js ${{ matrix.node-version }}
87 shell: bash -eo pipefail -l {0}
89 nvm install --default ${{ matrix.node-version }}
90 dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
94 npm config set loglevel error
95 npm config set shrinkwrap false
97 - name: Install npm module(s) ${{ matrix.npm-i }}
98 run: npm install --save-dev ${{ matrix.npm-i }}
99 if: matrix.npm-i != ''
101 - name: Remove non-test dependencies
102 run: npm rm --silent --save-dev connect-redis
104 - name: Install Node.js dependencies
107 - name: List environment
111 echo "node@$(node -v)"
122 - name: Collect code coverage
123 uses: coverallsapp/github-action@master
125 github-token: ${{ secrets.GITHUB_TOKEN }}
126 flag-name: run-${{ matrix.test_number }}
131 runs-on: ubuntu-latest
133 - name: Upload code coverage
134 uses: coverallsapp/github-action@master
136 github-token: ${{ secrets.github_token }}
137 parallel-finished: true