Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable21] Use npm ci when running JS tests #30583

Merged
merged 6 commits into from
Jan 11, 2022

Conversation

PVince81
Copy link
Member

Backport of #30581 with manual recompile

This makes sure that the pinned versions are selected correctly.
Fixes the colors.js incident.

Signed-off-by: Vincent Petry <[email protected]>
Signed-off-by: Vincent Petry <[email protected]>
Prevent XHR during load by checking window.TESTING.
Adjust some expected values.

Signed-off-by: Vincent Petry <[email protected]>
Signed-off-by: Vincent Petry <[email protected]>
@PVince81 PVince81 added the 3. to review Waiting for reviews label Jan 10, 2022
@PVince81 PVince81 self-assigned this Jan 10, 2022
@PVince81
Copy link
Member Author

seems I messed up the lock file.

I've now re-run "npm i" from scratch and it looks fine, so the build should pass now.

@PVince81 PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 11, 2022
@PVince81
Copy link
Member Author

/compile amend /

It wasn't up to date with package.json

Signed-off-by: Vincent Petry <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
@nextcloud-command nextcloud-command force-pushed the bugfix/noid/npm-ci-for-karma/stable21 branch from f866aac to dcb1219 Compare January 11, 2022 08:47
@artonge
Copy link
Contributor

artonge commented Jan 11, 2022

Static code failing:

Error: Cannot find file phpvfscomposer:/home/runner/work/server/server/lib/composer/vimeo/psalm/psalm to include

@PVince81
Copy link
Member Author

static code of psalm unrelated, probably the baseline needs to be updated

@PVince81 PVince81 merged commit 477a693 into stable21 Jan 11, 2022
@PVince81 PVince81 deleted the bugfix/noid/npm-ci-for-karma/stable21 branch January 11, 2022 13:05
@blizzz blizzz mentioned this pull request Jan 14, 2022
@blizzz blizzz added this to the Nextcloud 21.0.8 milestone Jan 14, 2022
This was referenced Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants