upload-artifact: node20-compatible glob (drop fs.globSync) #5

Merged
stephen merged 1 commit from fix/upload-artifact-glob-node20 into main 2026-06-30 14:40:05 +00:00
Owner

Why

src/lib/glob.js used fs.globSync (Node 22+), but action.yml declares using: node20, so any path: glob threw on a real node20 runner.

What

Replace fs.globSync with a node20-compatible glob implementation.

Testing

Added a glob test. Backlog rank 3.

## Why `src/lib/glob.js` used `fs.globSync` (Node 22+), but `action.yml` declares `using: node20`, so any `path:` glob threw on a real node20 runner. ## What Replace fs.globSync with a node20-compatible glob implementation. ## Testing Added a glob test. Backlog rank 3.
Fix glob uploads on node20
All checks were successful
test / unit (pull_request) Successful in 6s
test / e2e (pull_request) Successful in 23s
78a7113f02
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
rasterstate/upload-artifact-action!5
No description provided.