build(deps-dev): bump follow-redirects #1190
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node package | |
on: | |
push: | |
paths-ignore: | |
- 'examples/**' | |
jobs: | |
test: | |
name: Test ${{ matrix.package }} at Node v${{ matrix.node-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
max-parallel: 5 | |
matrix: | |
node-version: [ '16' ] | |
package: | |
- "qase-cucumberjs" | |
- "qase-cypress" | |
- "qase-jest" | |
- "qase-newman" | |
- "qase-playwright" | |
- "qase-testcafe" | |
- "qaseio" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- working-directory: ./${{ matrix.package }} | |
run: npm install | |
- working-directory: ./${{ matrix.package }} | |
run: npm run lint | |
- working-directory: ./${{ matrix.package }} | |
run: npm run test | |
build-n-publish: | |
name: Build and publish ${{ matrix.package }} | |
runs-on: ubuntu-latest | |
needs: test | |
strategy: | |
max-parallel: 5 | |
matrix: | |
package: | |
- "qase-cucumberjs" | |
- "qase-cypress" | |
- "qase-jest" | |
- "qase-newman" | |
- "qase-playwright" | |
- "qase-testcafe" | |
- "qaseio" | |
if: startsWith(github.event.ref, 'refs/tags') | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
if: contains(github.event.ref, matrix.package) | |
with: | |
node-version: '16' | |
- if: contains(github.event.ref, matrix.package) | |
working-directory: ./${{ matrix.package }} | |
run: npm install | |
- if: contains(github.event.ref, matrix.package) | |
working-directory: ./${{ matrix.package }} | |
run: npm run build | |
- if: contains(github.event.ref, matrix.package) | |
working-directory: ./${{ matrix.package }} | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |