You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Cypress install phase fails with the error stated in the title. Although, I see a similar issue #211 fixed and released with version 2.3.6 , it is occuring for me in v4
stage.yml
name: GitHub Actions Vercel Preview Deployment
env:
VERCEL_ORG_ID: ${{ secrets.ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.PROJECT_ID }}
on:
pull_request:
types: [assigned, edited]
branches: [stage, test]
workflow_dispatch:
jobs:
install:
name: Cypress install
runs-on: ubuntu-latest
container: cypress/browsers:node16.17.0-chrome106
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: 'package.json'
cache: 'yarn'
- run: node -v
- name: Cypress install
uses: cypress-io/github-action@v4
with:
# Disable running of tests within install job
runTests: false
build: yarn build
- name: Save build folder
uses: actions/upload-artifact@v2
with:
name: build
if-no-files-found: error
path: build
ui-chrome-tests:
name: Cypress run on Chrome
runs-on: ubuntu-latest
container: cypress/browsers:node16.17.0-chrome106
needs: install
strategy:
fail-fast: false
matrix:
# run copies of the current job in parallel
containers: [1, 2, 3, 4, 5]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Download the build folders
uses: actions/download-artifact@v2
with:
name: build
path: build
- name: 'UI Tests - Chrome'
uses: cypress-io/github-action@v4
with:
# we have already installed all dependencies above
install: false
start: yarn start:ci
wait-on: 'http://localhost:3000'
wait-on-timeout: 120
browser: chrome
record: true
parallel: true
group: 'UI - Chrome'
spec: cypress/tests/ui/*
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
# Recommended: pass the GitHub token lets this action correctly
# determine the unique run id necessary to re-run the checks
GITHUB_TOKEN:
${{ secrets.GITHUB_TOKEN }}
# overwrite commit message sent to Dashboard
COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}}
# re-enable PR comment bot
COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}}
The text was updated successfully, but these errors were encountered:
@gigamesh I think if you ignore this example which I have taken from the one of doc pages, you will be good. Think I went with one of their examples in github. Not sure, been a few weeks now. But it I was able to work it out.
#Cypress install phase fails with the error stated in the title. Although, I see a similar issue #211 fixed and released with version
2.3.6
, it is occuring for me in v4stage.yml
The text was updated successfully, but these errors were encountered: