Comments (10)
- You've tagged your problem here on to the feature request which is not so good for tracking and resolution of your individual issue.
- Please open a new issue to follow on from the issue #1138. I see this is the same repository https://github.com/tidal-music/tidal-sdk-web that was previously causing issues with pnpm and the Cypress GitHub action.
from github-action.
Good you found your problem!
I don't have privileges to delete other people's posts. You can however delete your own posts or select Hide from the three-dot menu and hide your post(s) from being displayed.
from github-action.
got it. I will keep an eye on it and if it reproduces again will create new issue with reproduction
from github-action.
Hey, we are trying to update Cypress and have gotten in a broken state again (like #1138 I think).
If I try to run a 'install only' in the repo root folder it seems to fail with this:
/opt/hostedtoolcache/node/20.12.2/x64/bin/npx cypress cache list
sh: 1: cypress: not found
Error: The process '/opt/hostedtoolcache/node/20.12.2/x64/bin/npx' failed with exit code 127
If ran from the package with Cypress in it, it fails with this (expected I guess):
Action failed. Missing package manager lockfile. Expecting one of package-lock.json (npm), pnpm-lock.yaml (pnpm) or yarn.lock (yarn) in working-directory /home/runner/work/tidal-sdk-web/tidal-sdk-web/packages/player
(https://github.com/tidal-music/tidal-sdk-web/actions/runs/8702900798/job/23867967977#step:6:13)
Any clue what might cause this? I tried to delete the relevant cache and rerun but got the same results.
from github-action.
Sorry for that, feel free to delete my comments here if you like!
As for the issue, I think I found the problem, we did the caching in a previous step, and the name of the cache was too generic so the post-install trigger did not run. Sorry for the noise!
from github-action.
hello, I've just noticed one more problem with pnpm workspace. After latest release of action it shows that there is cypress '13.9.0' cached but later it fails to find binaries for '13.8.1' as our tests use it. I followed start-and-pnpm-workspaces and it worked like a charm until today )
Seems a bit similar to #971
![image](https://private-user-images.githubusercontent.com/8783498/329761280-e7e27f03-5af3-42a4-86d3-e3d2f37374c8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE1NDk1ODMsIm5iZiI6MTcyMTU0OTI4MywicGF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MwMCZYLUFtei1TaWduYXR1cmU9ZjM1ZjZmNTg4ZGNiN2I4Nzg1MjkyMmZmMDFmMThkYTA2OGFmYmRiZWFiYTg1NzE1ZjJhNmRiN2VkZmJlYzlhMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.h5tpFoxHlAz5gczJVY2WWQRpvS0TI3Ha5CYPEagb8Co)
Thank you 🙇🏻
from github-action.
Please open a new issue if you are asking for help. This issue is for the pnpm workspace support enhancement request, not any bug reports about the existing implementation or documentation.
from github-action.
I added a comment there as I thought that might be in scope of "workspace support"
If you think that's not related, I can move it to separate issue, sure
if you are asking for help
For now I just upgraded local cypress version to match the version installed by the github action. Just was a bit surprised that action can't read correct version from pnpm-lock
from github-action.
I tested start-and-pnpm-workspaces with Cypress 13.8.0
in workspace-1 and 13.9.0
in workspace-2 using the workflow example-start-and-pnpm-workspaces.yml and it worked correctly, installing and caching both versions.
If you need to have mixed Cypress versions in your pnpm workspaces and it is not working for you, then we can look at it in a separate issue. We would need to see your workflow and your lock file for that.
from github-action.
- I found that the caching for pnpm (without workspaces) can be unreliable and I logged issue #1179 for that problem. I plan to investigate it further.
- Edit: see now PR #1180
from github-action.
Related Issues (20)
- App frontend is not reachable, on random test runs HOT 5
- pnpm workspaces workflow shows "no status" HOT 2
- Save Test Results to File or Action Output HOT 6
- Add thread_ts as an optional parameter to use threads as part of the cypress cloud slack integration HOT 4
- Cypress run starts but does not run any tests HOT 9
- Cypress.env returns undefined [Github Actions] HOT 11
- Cypress fails to connect to devTools after first test HOT 13
- `project` not working HOT 5
- adding user 1001 throws EACCES permission issue HOT 17
- Sporadic cypress binary cache failure of example-basic-pnpm workflow on Ubuntu HOT 5
- Cancel test run on Cypress cloud when action is cancelled HOT 1
- Cypress in Github Actions won't feed env variables to Oxygen server HOT 4
- Unable to run the cypress-io action when specifying a repo on the checkout HOT 2
- Geolocation error on final command of final test HOT 6
- Auto-Detect PR error on Workflow dispatch, resource not accessible HOT 4
- Receiving `Error: Cannot find module 'cypress'` error in GitHub actions HOT 8
- wait-on failing because of MaxRedirectsError HOT 5
- Unable to redirect to microsoft sso login page from app url when running cypress feature file using github action HOT 3
- Define Cypress custom script from the inputs HOT 2
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.