#59665 closed defect (bug) (fixed)
Fix CI jobs: update "packages" > "version" number in 6.5 package-lock.json file.
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | 6.4 |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
On trunk
the Test npm, JS coding standards, and JS Tests CI jobs are failing on the following task:
Ensure version-controlled files are not modified or deleted.
For example, here's the workflow of the JS coding standards task:
##[debug]/usr/bin/bash -e /home/runner/work/_temp/e1a4dc15-be4a-4570-a40f-53f4b3dc8650.sh diff --git a/package-lock.json b/package-lock.json index bcd0df4..a925ec5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "WordPress", - "version": "6.4.0", + "version": "6.5.0", "license": "GPL-2.0-or-later", "dependencies": { "@emotion/is-prop-valid": "0.8.8",
Notice it's flagging the "version"
number in the "packages"
.
[56966] modified the first "version" number in the package-lock.json
, but did not modify the "version" within the "packages".
Looking at what's flagged, 6.5.0
is expected, not 6.4.0
.
Change History (4)
This ticket was mentioned in PR #5519 on WordPress/wordpress-develop by @hellofromTonya.
19 months ago
#1
- Keywords has-patch added
@hellofromTonya commented on PR #5519:
19 months ago
#2
Thanks @swissspidy ⭐
The 3 previously failing jobs are now passing, confirming this fix was needed. Committing.
#3
@
19 months ago
- Owner set to hellofromTonya
- Resolution set to fixed
- Status changed from new to closed
In 56968:
@hellofromTonya commented on PR #5519:
19 months ago
#4
Committed via https://core.trac.wordpress.org/changeset/56968.
Sets the "packages" > "version" to "6.5.0" in the
package-lock.json
file, as both versions in the file should be the same.Trac ticket: https://core.trac.wordpress.org/ticket/59665