⬆️ Bump cypress-io/github-action from 5.8.3 to 6.6.0 #214
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: 📊 Tests | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**.md' | |
jobs: | |
cypress-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔀 Checking out Repo | |
uses: actions/checkout@v3 | |
- name: ⬇️ Installing Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: 📦 Installing Other Dependencies | |
run: yarn install && ls | |
- name: ⌛️ Running Cypress Component Tests | |
uses: cypress-io/[email protected] | |
with: | |
build: yarn build | |
component: true | |
config-file: cypress.config.ts | |
working-directory: packages/custoplayer | |
- name: ⌛️ Running Cypress E2E Tests | |
uses: cypress-io/[email protected] | |
with: | |
browser: chrome | |
config-file: cypress.config.ts | |
install: false | |
start: yarn dev | |
wait-on: 'http://localhost:3000' | |
working-directory: packages/custoplayer | |
- name: 📝 Create coverage xml file | |
run: cd packages/custoplayer/ && npx nyc report --reporter=clover | |
- name: ⬆️ Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 |