diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index c1846506..b48e440f 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -5,6 +5,8 @@ on: [push] jobs: cypress-run: runs-on: ubuntu-latest + container: cypress/browsers:node12.18.3-chrome87-ff82 + steps: - name: Checkout uses: actions/checkout@v2 @@ -13,5 +15,6 @@ jobs: - name: Cypress run uses: cypress-io/github-action@v2 with: + browser: chrome build: yarn build start: yarn preview diff --git a/cypress.json b/cypress.json index ce918fd9..cba7b379 100644 --- a/cypress.json +++ b/cypress.json @@ -1,8 +1,9 @@ { + "projectId": "2ckppp", "$schema": "https://on.cypress.io/cypress.schema.json", "baseUrl": "http://localhost:3000", "pluginsFile": "./cypress/plugins/index.cjs", "viewportWidth": 1440, "viewportHeight": 768, "snapshotFileName": "./cypress/snapshots.js" -} +} \ No newline at end of file