Skip to content

chore(deps): update dependency cypress to v13 #134

chore(deps): update dependency cypress to v13

chore(deps): update dependency cypress to v13 #134

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Run Cypress tests 🧪
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v4
# there was a breaking change under the hood in Cypress v11.1.0
# so make sure this plugin still works for older versions
test-cypress-v11-0:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Run Cypress tests 🧪
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v4
with:
build: npm install -D cypress@11.0.1
test-cypress-v9:
runs-on: ubuntu-20.04
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Install top dependencies 📦
# https://github.com/cypress-io/github-action
uses: cypress-io/github-action@v4
with:
runTests: false
- name: Run Cypress v9 tests 🧪
uses: cypress-io/github-action@v4
with:
working-directory: cypress-v9
- uses: actions/upload-artifact@v2
name: Store any v9 screenshots 🖼
if: failure()
with:
name: cypress-screenshots-v9
path: cypress-v9/cypress/screenshots
release:
needs: [test, test-cypress-v9, test-cypress-v11-0]
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
- name: Install only the semantic release 📦
run: npm install semantic-release
- name: Semantic Release 🚀
uses: cycjimmy/semantic-release-action@v3
with:
branch: main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}