Skip to content

Update dependency cypress to v13 #364

Update dependency cypress to v13

Update dependency cypress to v13 #364

Workflow file for this run

name: tags
on: push
jobs:
install:
runs-on: ubuntu-20.04
steps:
- name: Check out code πŸ›Ž
uses: actions/checkout@v2
- name: Install dependencies πŸ“¦
uses: cypress-io/github-action@v2
with:
# just perform install
runTests: false
tag-dynamic:
runs-on: ubuntu-20.04
needs: install
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v2
# https://github.com/cypress-io/github-action
- name: Run tests πŸ§ͺ
uses: cypress-io/github-action@v2
with:
start: npm run dev
wait-on: 'http://localhost:1234'
env: grepTags=@dynamic
record: true
group: '1 - @dynamic'
tag: tags
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
tag-visible:
runs-on: ubuntu-20.04
needs: install
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v2
# https://github.com/cypress-io/github-action
- name: Run tests πŸ§ͺ
uses: cypress-io/github-action@v2
with:
start: npm run dev
wait-on: 'http://localhost:1234'
env: grepTags=@visible
record: true
group: '2 - @visible'
tag: tags
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
tag-client:
runs-on: ubuntu-20.04
needs: install
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v2
# https://github.com/cypress-io/github-action
- name: Run tests πŸ§ͺ
uses: cypress-io/github-action@v2
with:
start: npm run dev
wait-on: 'http://localhost:1234'
env: grepTags=@client
record: true
group: '3 - @client'
tag: tags
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
tag-intercept:
runs-on: ubuntu-20.04
needs: install
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v2
# https://github.com/cypress-io/github-action
- name: Run tests πŸ§ͺ
uses: cypress-io/github-action@v2
with:
start: npm run dev
wait-on: 'http://localhost:1234'
env: grepTags=@intercept
record: true
group: '4 - @intercept'
tag: tags
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
untagged:
runs-on: ubuntu-20.04
needs: [tag-intercept, tag-client, tag-visible, tag-dynamic]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v2
# https://github.com/cypress-io/github-action
- name: Run tests πŸ§ͺ
uses: cypress-io/github-action@v2
with:
start: npm run dev
wait-on: 'http://localhost:1234'
env: grepUntagged=true
record: true
group: '5 - untagged'
tag: tags
env:
# pass the Dashboard record key as an environment variable
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}