Skip to content

Commit 0fd8b7a

Browse files
authored
feat: update cypress version and config (freeCodeCamp#38892)
1 parent fd2ca5c commit 0fd8b7a

File tree

4 files changed

+902
-895
lines changed

4 files changed

+902
-895
lines changed

.github/workflows/cypress.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
env:
1515
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
# our .npmrc sets a default version to 0, and prevents download. This installs it.
18+
CYPRESS_INSTALL_BINARY: '4.6.0'
1719
name: Cypress run
1820
runs-on: ubuntu-latest
1921
services:
@@ -24,11 +26,11 @@ jobs:
2426
- 27017:27017
2527
steps:
2628
- name: Checkout
27-
uses: actions/checkout@v1
29+
uses: actions/checkout@v2
2830

2931
- name: Set up environment
3032
run: cp sample.env .env
31-
33+
3234
- name: Cypress run
3335
uses: cypress-io/github-action@v1
3436
with:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ coverage
111111

112112
# Cypress.io
113113
cypress/videos
114+
cypress/screenshots
114115

115116
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
116117
.grunt

0 commit comments

Comments
 (0)