Comments (2)
Thank you very much for the detailed answer! It seems to do the job 👍
from github-action.
The package manager lockfile is only at the root of the monorepo and not in each of its application. Would it be possible to configure the location of the package manager lockfile ?
Since the action install
parameter is set to true
(which is also the default setting), the action looks for a lockfile in the working directory and fails if none is found.
You may be able to use the project parameter instead of the working-directory
parameter to point to ./apps/campus
. That would work if your directory structure corresponds to the project example on https://github.com/cypress-io/cypress-test-nested-projects (which is unfortunately a legacy version example, but the principle is the same with current versions).
In that case, you would then want to remove the following instructions, because github-action
would carry out the installation based on your pnpm-lock.yaml
file in the root directory:
- name: Install Dependencies
run: pnpm install
Use of
command: pnpm cypress run
is problematic, as described in Custom test command
Caution: using the action parameter
command
causes multiple other parameters to be ignored including:auto-cancel-after-failures
,browser
,ci-build-id
,command-prefix
,component
,config
,config-file
,env
,group
,headed
,parallel
,project
,publish-summary
,quiet
,record
,spec
andtag
.
You can probably just delete this line, as the action's default mode is runTests: true
.
from github-action.
Related Issues (20)
- cypress-io/github-action@v6 is always running on node 20 even when using setup-node with node-version 18 HOT 2
- Pull docker image from Amazon ECR HOT 2
- Fixture file not found when running on self-hosted runner HOT 5
- Node 20.6+ `--env-file` flag in `NODE_OPTIONS` is not allowed HOT 5
- new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`); HOT 5
- Expandable failed tests in summary
- Github actions - npm install flags HOT 3
- Xvfb missing HOT 7
- GitHub Actions job marked as SUCCESS but CYPRESS tests fail HOT 5
- Node.js 16 deprecations in triage workflows HOT 4
- Test issue HOT 1
- Possibility to split summary results on spec level
- Commit message missing from Cypress Cloud when cypress/included container is used in GitHub Actions HOT 7
- Action stuck at Warning: vkCreateInstance: Found no drivers! HOT 15
- Specify specs and readonly configuration (chromeWebSecurity) per matrix container HOT 4
- Cypress binary randomly missing with pnpm HOT 13
- App frontend is not reachable, on random test runs HOT 5
- pnpm workspaces workflow shows "no status" HOT 2
- Add workspace support for pnpm HOT 10
- Save Test Results to File or Action Output HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-action.