Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jobs:
run: cd nuxt && yarn test:jest

- name: Run Cypress tests 🧪
run: cd nuxt && NODE_TLS_REJECT_UNAUTHORIZED=0 yarn test:cy
run: cd nuxt && NODE_TLS_REJECT_UNAUTHORIZED=0 yarn test:cy -- --key ${{ secrets.CYPRESS_RECORD_KEY }}
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- uses: actions/upload-artifact@v2
if: failure()
with:
Expand Down
1 change: 1 addition & 0 deletions nuxt/cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"baseUrl": "http://localhost:3000",
"componentFolder": "components",
"projectId": "hg1m62",
"testFiles": "**/*.{feature,features}"
}
2 changes: 1 addition & 1 deletion nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "nuxt build",
"cy:run": "cypress run",
"cy:run": "cypress run --record",
"deploy": "npx netlify-cli deploy -d ./dist",
"dev": "nuxt",
"generate": "nuxt generate",
Expand Down