This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
Bump @cypress/request and cypress #297
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: test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run type-check | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
cypress-version: ["11", "12"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
- run: npm ci | |
- run: npm install --save=false cypress@${{ matrix.cypress-version }} | |
- run: npm test |