Skip to content

Commit

Permalink
Fix ci/cd workflow and add tags to the runs
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsf82 committed Jan 17, 2024
1 parent b6680c6 commit 2f3e21a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
uses: cypress-io/github-action@v6
with:
record: true
tag: local
env:
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
2 changes: 2 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
uses: cypress-io/github-action@v6
with:
record: true
tag: local
env:
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
Expand Down Expand Up @@ -40,5 +41,6 @@ jobs:
uses: cypress-io/github-action@v6
env:
CYPRESS_PASSWORD: ${{ secrets.CYPRESS_PASSWORD }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
with:
command: npm run test:prod:cloud
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"cy:open:prod": "cypress open --env environment=prod",
"test": "cypress run",
"test:prod": "cypress run --env environment=prod",
"test:prod:cloud": "cypress run --record --env environment=prod"
"test:prod:cloud": "cypress run --record --tag 'prod' --env environment=prod"
},
"keywords": [
"Cypress Playground",
Expand Down

0 comments on commit 2f3e21a

Please sign in to comment.