The CircleCI job fundamentals__window-size running the command npm run test:ci:record -- --group $CIRCLE_JOB fails when triggered from a PR in a fork. See for instance #867.
Running command: npm run test:ci:record -- --group fundamentals__window-size
> window-size@1.0.0 test:ci:record
> ../../node_modules/.bin/cypress run --record --headless --browser chrome --group fundamentals__window-size
DevTools listening on ws://127.0.0.1:42175/devtools/browser/5c649985-8256-42d8-9337-695c9c749192
Couldn't find tsconfig.json. tsconfig-paths will be skipped
You passed the --record flag but this project has not been setup to record.
This project is missing the projectId inside of: cypress.config.js
We cannot uniquely identify this project without this id.
You need to setup this project to record. This will generate a unique projectId.
Alternatively if you omit the --record flag this project will run without recording.
https://on.cypress.io/recording-project-runs
Exited with code exit status 1
Since the CircleCI nightly workflow is successful it seems like the projectID is defined in a CircleCI secret which is not accessible in a Contributor fork.
Issue
fundamentals__window-size
running the commandnpm run test:ci:record -- --group $CIRCLE_JOB
fails when triggered from a PR in a fork. See for instance #867.https://github.com/cypress-io/cypress-example-recipes/blob/11647775546f106b8355dc088934bc2c4325eaaa/.circleci/config.yml#L446-L449
https://github.com/cypress-io/cypress-example-recipes/blob/master/examples/fundamentals__window-size/cypress.config.js contains no
projectId
Since the CircleCI
nightly
workflow is successful it seems like theprojectID
is defined in a CircleCI secret which is not accessible in a Contributor fork.