Update dependency cypress to v13 #364
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: 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 }} |