Repository navigation
chore(deps): update the @actions packages to their ESM majors - #63
Merged
Merged
Conversation
Running probe check or probe fmt --check before a workflow took install-only and a step for each command. before-run takes check and fmt, runs them on each file of path or paths, and runs the workflows only once every file has passed. fmt always runs with --check, since a CI run that rewrote the file would pass without anyone seeing it, and an unknown value is an error before probe runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Check workflows with before-run before running them
@actions/core 3, exec 3, cache 6 and tool-cache 4 are ESM only, which ncc bundles into the same CJS dist once tsconfig resolves modules as a bundler does. They depend on @actions/http-client 4, whose undici is past the advisories the 3.0.2 override was for, so it is dropped. minimatch is overridden to 10.2.6 rather than 11, which fixes GHSA-g3hv-75wg-m249: 11 has no matchOne, which @actions/glob 0.7.0, the latest, calls when actions/cache collects its paths, and saving the cache failed. npm audit still reports the advisory; the only pattern glob is given here is the fixed path of the probe archive. TypeScript is updated to 6.0.3 rather than 7, which has no JavaScript API for ncc's ts-loader to build with; 6 needs rootDir set. @types/node stays on 24 for the node24 runtime. biome, ncc and vitest are updated to their latest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@actions/core3,exec3,cache6 andtool-cache4 are ESM only, which 108e07e held back because of the ncc build. ncc bundles them into the same CJSdist/index.jsoncetsconfig.jsonresolves modules as a bundler does (module: ESNext,moduleResolution: bundler). They depend on@actions/http-client4, whose undici is past the advisories the 3.0.2 override was for, so that override is dropped.minimatchis overridden to 10.2.6, not to 11, which is the only line that fixes GHSA-g3hv-75wg-m249. 11 has nomatchOne, which@actions/glob0.7.0, the latest, calls when@actions/cachecollects its paths: with 11 the built action loggedCache save failed: TypeError: this.minimatch.matchOne is not a functionand carried on without caching, so CI would not have caught it.npm auditstill reports the advisory, three moderate entries for the one chain. It is a denial of service from an amplified pattern, and the only pattern glob is given here is the fixed path of the probe archive underRUNNER_TEMP.TypeScript goes to 6.0.3, not 7, which has no JavaScript API for ncc's ts-loader to build with (
Cannot read properties of undefined (reading 'fileExists')); 6 needsrootDirset and no longer takesmoduleResolution: node.@types/nodestays on 24, for the node24 runtime. biome (2.6.9, with its schema), ncc (0.45.0) and vitest (5.1.2) go to their latest.npm run allpasses. Run locally, the rebuilt action resolved the latest probe through the API, verified and extracted it, rantest/basic-http.ymlagainst a local server, and, with the cache on, globbed the archive directory and built the cache archive, failing only at reserving it with no cache service outside Actions.🤖 Generated with Claude Code