Skip to content

Commit

Permalink
Remove check-latest-npm validation (#57797)
Browse files Browse the repository at this point in the history
Package publishing via GitHub Actions is currently broken because the actions are not passing the npm version check.

This check was introduced when package-lock formats were changing frequently and causing issues. Those difficulties seem to have passed for the most part.
  • Loading branch information
sirreal authored and gziolo committed Jan 16, 2024
1 parent aac3406 commit 598afa7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 137 deletions.
134 changes: 0 additions & 134 deletions bin/check-latest-npm.js

This file was deleted.

1 change: 0 additions & 1 deletion bin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"files": [
"./api-docs/update-api-docs.js",
"./check-latest-npm.js",
"./plugin/config.js",
"./plugin/commands/changelog.js",
"./plugin/commands/performance.js",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@
"wp-scripts lint-style"
],
"package-lock.json": [
"npm run lint:lockfile",
"node ./bin/check-latest-npm.js"
"npm run lint:lockfile"
],
"packages/*/package.json": [
"wp-scripts lint-pkg-json"
Expand Down

1 comment on commit 598afa7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 598afa7.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7542390710
📝 Reported issues:

Please sign in to comment.