Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
510 commits
Select commit Hold shift + click to select a range
a410c4a
remove extra brace
salmanmkc Mar 17, 2025
930c890
Merge pull request #1995 from actions/salmanmkc/2-new-cache-artifacts…
salmanmkc Mar 17, 2025
07341e1
fix link in `@actions/artifact` `RELEASES.md`
AbhiPrasad Mar 26, 2025
525ebf0
Merge pull request #2004 from AbhiPrasad/patch-1
salmanmkc Apr 9, 2025
1b1e815
Update README.md (#1719)
alissontenorio Apr 9, 2025
87cb703
add env variable for cache tests
GhadimiR May 6, 2025
d50f1ac
change url
GhadimiR May 6, 2025
5ae4c5b
don't need that maybe
GhadimiR May 6, 2025
d156bca
maybe this works instead
GhadimiR May 6, 2025
e8f276a
alphabetically order them
GhadimiR May 7, 2025
aebe304
Merge pull request #2041 from actions/ghadimir/fix_cache_tests
GhadimiR May 7, 2025
2b47632
fix packages/gh deps
GhadimiR May 7, 2025
2046ee6
gh package release prep
GhadimiR May 7, 2025
07cac0a
bump gh package ver
GhadimiR May 7, 2025
917a43e
bump octokit methods
GhadimiR May 7, 2025
ef199a9
Merge pull request #2043 from actions/ghadimir/audit_fix
GhadimiR May 7, 2025
2e4ab87
artifact deps
GhadimiR May 8, 2025
f32d6bc
bump octokit core
GhadimiR May 8, 2025
6444290
release prep
GhadimiR May 8, 2025
8007c1c
Merge pull request #2049 from actions/ghadimir/audit_fix
GhadimiR May 8, 2025
6ed621e
Bump @octokit/endpoint from 9.0.5 to 9.0.6 in /packages/attest
dependabot[bot] May 8, 2025
957610a
Bump @octokit/request-error from 5.1.0 to 5.1.1 in /packages/attest
dependabot[bot] May 8, 2025
a25b686
Merge pull request #2044 from actions/dependabot/npm_and_yarn/package…
bdehamer May 8, 2025
36db4d6
Merge pull request #2045 from actions/dependabot/npm_and_yarn/package…
bdehamer May 8, 2025
8d8a914
Document `context.runAttempt` in @actions/github 6.0.1 (#2054)
joshmgross May 13, 2025
41b3ce3
Bump undici from 5.28.5 to 5.29.0 in /packages/attest
dependabot[bot] May 15, 2025
f31c292
Merge pull request #2058 from actions/dependabot/npm_and_yarn/package…
bdehamer May 25, 2025
dbb1ea3
Fix typo in `core/README.md`
esainane May 27, 2025
12e323a
Update README.md
nebuk89 Jun 10, 2025
c28e7d4
Update README.md
nebuk89 Jun 12, 2025
683703c
Merge pull request #2086 from actions/nebuk89-patch-1
nebuk89 Jun 16, 2025
be5a2ce
Initial plan
Copilot Jul 14, 2025
3c90578
Improve cache service availability determination and change warnings …
Copilot Jul 14, 2025
513216f
Fix tests to expect errors instead of warnings for cache failures
Copilot Jul 14, 2025
0c5da92
Fix logging of cache key and restore key matches
Link- Jul 14, 2025
cf4886c
Fix linting issues
Link- Jul 14, 2025
cf3aaeb
Update tests to expect warnings instead of errors for non-5xx cache f…
Copilot Jul 14, 2025
bbc6082
Add .nx/ to .gitignore to exclude build cache files
Copilot Jul 14, 2025
c51178a
Implement 5xx server error detection and fix most cache tests
Copilot Jul 14, 2025
bab3dcf
Complete PR feedback implementation: all cache tests passing
Copilot Jul 14, 2025
d48d6b6
Remove logCacheError function and implement inline 5xx error detectio…
Copilot Jul 14, 2025
89397db
Restore server error test and confirm logCacheError function removal
Copilot Jul 14, 2025
bd54a24
Fix v1 cache service to only check ACTIONS_CACHE_URL
Copilot Jul 14, 2025
a0907ed
Remove .nx/ from .gitignore as requested
Copilot Jul 14, 2025
79e1d8b
Merge pull request #2101 from actions/Link-/clarify-cache-hit-log
Link- Jul 18, 2025
6d3feab
Merge pull request #2100 from actions/copilot/fix-2099
Link- Jul 28, 2025
d65ee66
Move @protobuf-ts/plugin to dev dependencies
Link- Jul 28, 2025
eb62265
Merge pull request #2076 from esainane/what-the-word-is-is
salmanmkc Jul 31, 2025
8a3652e
Optimise cache dependencies
Link- Jul 31, 2025
8ff772d
Merge pull request #2106 from actions/Link-/optimise-cache-deps
Link- Jul 31, 2025
717b895
support node 24
salmanmkc Jul 31, 2025
ece2273
updates
salmanmkc Jul 31, 2025
1ef3214
update for types
salmanmkc Aug 1, 2025
8c3fc9e
Update test to use mock
salmanmkc Aug 6, 2025
bcb9286
format
salmanmkc Aug 6, 2025
c672308
Prepare release 4.0.4
Link- Aug 6, 2025
bf3fc92
Merge pull request #2111 from actions/Link-/cache-4.0.4
Link- Aug 6, 2025
6c64260
Reintroduce @protobuf-ts/runtime as a runtime dependency v2.11.1
Link- Aug 7, 2025
0171562
Replace @protobuf-ts/runtime with higher level dep @protobuf-ts/runti…
Link- Aug 7, 2025
ec43e58
Merge pull request #2113 from actions/Link-/fix-runtime-deps
Link- Aug 7, 2025
c9316bb
Update cache package compilation step to install only runtime depende…
Link- Aug 7, 2025
3a607d0
Update .github/workflows/cache-tests.yml
Link- Aug 7, 2025
f3e6fb1
Fix linter complaints
Link- Aug 7, 2025
26b9403
Merge branch 'Link-/fix-cache-tests' of github.com:actions/toolkit in…
Link- Aug 7, 2025
a6be3de
Merge pull request #2114 from actions/Link-/fix-cache-tests
Link- Aug 7, 2025
447ee85
Prepare release 4.0.5
Link- Aug 7, 2025
227b1ce
Merge pull request #2115 from actions/Link-/release-4.0.5
Link- Aug 7, 2025
944ede4
custom readlink implementation for Windows compatibility with trailin…
salmanmkc Aug 8, 2025
6f0cb0c
Merge branch 'main' into salmanmkc/node24
salmanmkc Aug 8, 2025
b8cca0c
fix lint errors
salmanmkc Aug 8, 2025
f82db4c
audit fix
salmanmkc Aug 8, 2025
0fe20e9
remove cache size limit
GhadimiR Aug 13, 2025
06f7fd9
new error state, tests to cover
GhadimiR Aug 13, 2025
8da1e67
lint
GhadimiR Aug 13, 2025
091616a
no need to resolve
GhadimiR Aug 13, 2025
f58042f
Merge pull request #2118 from actions/ghadimir/cache_size_restriction
GhadimiR Aug 21, 2025
523ce8c
add reject
akashchi Sep 1, 2025
86207b5
remove engines 24 reuqirement from toolkit and fix test
salmanmkc Sep 4, 2025
aa7077a
Override to fix npm audit stuff
salmanmkc Sep 4, 2025
011f07d
package changes
salmanmkc Sep 4, 2025
8f32f38
Bump package versions, and fix issues
salmanmkc Sep 4, 2025
b738f10
package updates
salmanmkc Sep 4, 2025
48e42b1
linting
salmanmkc Sep 4, 2025
b1eb18b
http
salmanmkc Sep 8, 2025
7aea3e7
changes
salmanmkc Sep 8, 2025
9a41b33
Prepapre cache v4.1.0 release
Link- Sep 24, 2025
3898ed7
Merge pull request #2132 from actions/Link-/cache-4.1.0
Link- Sep 24, 2025
8c6c662
Merge remote-tracking branch 'upstream/main' into reject-on-download-…
akashchi Sep 24, 2025
7c689a5
use error in both reject and destroy
akashchi Sep 24, 2025
7da95b1
Dependabot: add support for `/packages/artifact` and `/packages/cache
danwkennedy Sep 24, 2025
1ea77a8
Update the group names
danwkennedy Sep 24, 2025
8e146e1
Merge pull request #2134 from actions/danwkennedy/dependabot-artifact…
danwkennedy Sep 24, 2025
f7f0571
Bump the artifact-minor-patch group in /packages/artifact with 5 updates
dependabot[bot] Sep 24, 2025
ca8a35d
Take a direct dependency on `@azure/core-http`
danwkennedy Sep 24, 2025
1db3130
fix: only mock the `cpus()` function on the `os` module instead of th…
danwkennedy Sep 25, 2025
f2ba502
Merge pull request #2136 from actions/dependabot/npm_and_yarn/package…
danwkennedy Sep 25, 2025
8444236
lint
akashchi Sep 25, 2025
714f93a
Merge pull request #2124 from akashchi/reject-on-download-failure
danwkennedy Sep 25, 2025
d26e942
Test: add a timeout test for downloading chunks from the stream
danwkennedy Sep 24, 2025
9b08f07
Fix linting
danwkennedy Sep 25, 2025
ddc5fa4
Merge pull request #2133 from actions/danwkennedy/test-blob-stream-ti…
danwkennedy Sep 25, 2025
33a9b6c
update with dist updates
salmanmkc Sep 25, 2025
308e05b
remove cache size limit
GhadimiR Aug 13, 2025
36f30e6
new error state, tests to cover
GhadimiR Aug 13, 2025
d1c1fc4
lint
GhadimiR Aug 13, 2025
0c907a4
no need to resolve
GhadimiR Aug 13, 2025
59c7ebd
Prepapre cache v4.1.0 release
Link- Sep 24, 2025
f9bdf6a
Dependabot: add support for `/packages/artifact` and `/packages/cache
danwkennedy Sep 24, 2025
ad4afee
Update the group names
danwkennedy Sep 24, 2025
2874e3a
Bump the artifact-minor-patch group in /packages/artifact with 5 updates
dependabot[bot] Sep 24, 2025
ee5d897
Take a direct dependency on `@azure/core-http`
danwkennedy Sep 24, 2025
9b4ee21
fix: only mock the `cpus()` function on the `os` module instead of th…
danwkennedy Sep 25, 2025
d44f9b8
update some version numbers, will revise in a bit
salmanmkc Sep 25, 2025
8024983
Update workflows and documentation to use the latest versions of firs…
salmanmkc Sep 25, 2025
fb5ae2a
Keep attest at the same version
salmanmkc Sep 25, 2025
44b9401
Remove the need to update packages/core
salmanmkc Sep 25, 2025
d5af54e
Update package versions
salmanmkc Sep 25, 2025
347c887
package json
salmanmkc Sep 29, 2025
a8d1fb0
remove node 18
salmanmkc Oct 13, 2025
88a490d
override for node-fetch
salmanmkc Oct 13, 2025
b5befc6
Update HTTP tests to use HTTPS for postman-echo.com
salmanmkc Oct 13, 2025
57cd003
Update tests to use HTTPS for postman-echo.com and adjust proxy envir…
salmanmkc Oct 13, 2025
ec0ca1b
fix typo
salmanmkc Oct 15, 2025
1c3a637
Update documentation
salmanmkc Oct 15, 2025
625c3f4
change version for http-client
salmanmkc Oct 15, 2025
9a364e6
update io utils
salmanmkc Oct 15, 2025
3b4b572
Update packages, core doesn't need updates and update to use IO util …
salmanmkc Oct 15, 2025
9c7501a
Io util package usage update
salmanmkc Oct 15, 2025
66e8437
Revert "Io util package usage update"
salmanmkc Oct 15, 2025
d402248
Lint fix
salmanmkc Oct 15, 2025
394e804
remove skip lib check
salmanmkc Oct 15, 2025
b0d901f
rebase led to this changing so reverting
salmanmkc Oct 15, 2025
028d621
Merge remote-tracking branch 'origin/main' into salmanmkc/node24
salmanmkc Oct 15, 2025
b8ac8fc
lint
salmanmkc Oct 15, 2025
b319d6a
Add comment to explain the method and return types
salmanmkc Oct 15, 2025
ae3ac0d
change back to lstat
salmanmkc Oct 15, 2025
d16e86a
Add workflow to test readlink behavior on Windows across Node versions
salmanmkc Oct 16, 2025
6fa8f07
Update based on testing to add trailing back slash to all results
salmanmkc Oct 16, 2025
700a550
spacing
salmanmkc Oct 16, 2025
45467b9
LInt
salmanmkc Oct 16, 2025
3c8fcfc
del file
salmanmkc Oct 16, 2025
ac2468e
Support Nodejs.24 - Merge pull request #2110 from actions/salmanmkc/…
salmanmkc Oct 16, 2025
5e0fa1a
Remove unnecessary Buffer to Uint8Array conversion
ejahnGithub Oct 16, 2025
acb230b
Merge pull request #2160 from actions/ejahnGithub-patch-1
ejahnGithub Oct 16, 2025
70e7939
fix: bumping max list artifact to 2k
functionstackx Oct 17, 2025
fb592ee
Update packages/artifact/src/internal/find/list-artifacts.ts
functionstackx Oct 17, 2025
d3ade9e
Prepare @actions/attest 2.0.0 release
salmanmkc Oct 20, 2025
fea4f6b
fix: resolve critical pagination bugs and add comprehensive testing
austenstone Oct 21, 2025
ab82301
Merge pull request #2164 from actions/prepare-attest-2.0.0-release
salmanmkc Oct 21, 2025
130842f
Prepare @actions/io 2.0.0 release
salmanmkc Oct 21, 2025
be1151d
Apply suggestion from @Link-
austenstone Oct 22, 2025
9bb6708
fix: remove redundant check for max artifact count variable
austenstone Oct 22, 2025
cbc06d6
fix: ensure max artifact count variable is treated as a string
austenstone Oct 22, 2025
2823824
Prepare @actions/http-client 3.0.0 release
salmanmkc Oct 22, 2025
d47594b
Update packages/http-client/RELEASES.md
salmanmkc Oct 22, 2025
02afeb1
style: wrap ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT env var assignment fo…
austenstone Oct 22, 2025
006d697
linting
austenstone Oct 22, 2025
5b446d2
Merge pull request #2165 from austenstone/max-list-artifact-2k
Link- Oct 24, 2025
1388fd1
Artifact: prepare `4.0.0`
danwkennedy Oct 24, 2025
d3ab504
Merge pull request #2168 from actions/danwkennedy/prepare-4.0.0
danwkennedy Oct 24, 2025
23769d0
Merge pull request #2166 from actions/prepare-io-2.0.0-release
salmanmkc Oct 31, 2025
dcae869
Merge pull request #2167 from actions/prepare-http-client-3.0.0-release
salmanmkc Oct 31, 2025
1bcc453
Prepare @actions/core 2.0.0 release
salmanmkc Oct 31, 2025
f79b906
Prepare @actions/exec 2.0.0 release
salmanmkc Oct 31, 2025
7cba4c8
npm install
salmanmkc Oct 31, 2025
2a876cd
Update packages/exec/RELEASES.md
salmanmkc Nov 4, 2025
290017f
update package json
salmanmkc Nov 4, 2025
6b63a2b
Merge pull request #2176 from actions/prepare-exec-2.0.0-release
salmanmkc Nov 18, 2025
a3588a7
update hash files test
salmanmkc Nov 18, 2025
df111e1
tests(glob): set GITHUB_WORKSPACE to __dirname in hash-files.test
salmanmkc Nov 18, 2025
d97deb1
tests(exec): use platform-aware spawn options in spawn-wait-for-file …
salmanmkc Nov 18, 2025
47017fa
Bump glob from 10.4.5 to 10.5.0 in /packages/attest
dependabot[bot] Nov 19, 2025
4500de7
Merge pull request #2187 from actions/dependabot/npm_and_yarn/package…
tingx2wang Dec 6, 2025
f014075
Bump tar from 7.5.1 to 7.5.2 in /packages/attest
dependabot[bot] Dec 6, 2025
7993066
Merge pull request #2174 from actions/dependabot/npm_and_yarn/package…
tingx2wang Dec 6, 2025
894f779
fix: improve exec stream tests cross-platform handling
salmanmkc Dec 8, 2025
bf1b640
fix: use detached:true on all platforms for exec stream tests
salmanmkc Dec 8, 2025
4bc377e
Timeout time back to normal, as it was like this for debugging
salmanmkc Dec 8, 2025
48f166f
Merge pull request #2175 from actions/prepare-core-1.12.0-release
salmanmkc Dec 8, 2025
e8c2426
add function for creating storage record
malancas Dec 8, 2025
79efd64
condense parameters
malancas Dec 8, 2025
8883833
chore: fix npm audit vulnerabilities (glob, js-yaml)
salmanmkc Dec 8, 2025
417dbff
use parameter objects and add tests
malancas Dec 8, 2025
9ca26d4
regenerate package lock
malancas Dec 8, 2025
c034e76
fix function exporting and test results
malancas Dec 8, 2025
f012629
table of contents
malancas Dec 8, 2025
dd097c7
add section on createStorageRecord func
malancas Dec 8, 2025
ed78411
fix expected response
malancas Dec 8, 2025
136f9df
fix header link
malancas Dec 8, 2025
0a988d2
rename file
malancas Dec 8, 2025
b8933d0
reorganize function options and document
malancas Dec 8, 2025
d1f9584
fix test calls
malancas Dec 8, 2025
6ec87f4
add back param parsing function
malancas Dec 8, 2025
8eca440
fix test and function calls
malancas Dec 8, 2025
10d3b03
fix linter issues
malancas Dec 9, 2025
7847d31
Update packages/attest/README.md
malancas Dec 9, 2025
dc9f635
Update packages/attest/src/artifactMetadata.ts
malancas Dec 9, 2025
c40fa0d
formatting
malancas Dec 9, 2025
87afd16
bump to next minor version
malancas Dec 9, 2025
97b7fa8
regenerate package lock
malancas Dec 9, 2025
5e183da
Merge pull request #2193 from actions/fix-audit-vulnerabilities
salmanmkc Dec 9, 2025
0380590
fix expected endpoint response
malancas Dec 9, 2025
b046462
Prepare cache v5 release
salmanmkc Dec 9, 2025
d795a0a
linter fix
malancas Dec 9, 2025
056c217
Merge pull request #2192 from actions/malancas/create-artifact-metada…
malancas Dec 9, 2025
d75223f
split mega param into several different ones
malancas Dec 9, 2025
3d01d7e
Update packages/attest/README.md
malancas Dec 9, 2025
5397246
param name
malancas Dec 9, 2025
701191f
fix linter issues
malancas Dec 9, 2025
02869fe
Merge pull request #2196 from actions/update-attest-storage-record-pa…
malancas Dec 9, 2025
45ec4a2
chore: update dependencies and remove deprecated package
salmanmkc Dec 10, 2025
eb7ff84
chore(cache): regenerate package-lock.json with Node 24
salmanmkc Dec 10, 2025
8a2701f
fix(cache): replace @azure/ms-rest-js with @azure/core-rest-pipeline
salmanmkc Dec 10, 2025
bdddd87
Merge pull request #2197 from actions/cache-remove-ms-rest-js
salmanmkc Dec 10, 2025
e48877e
chore(cache): bump @actions/* dependencies to v2/v3
salmanmkc Dec 10, 2025
b2e6a5a
chore(core): bump @actions/exec from ^1.1.1 to ^2.0.0
salmanmkc Dec 10, 2025
2c52220
Merge pull request #2199 from actions/core-bump-exec
salmanmkc Dec 10, 2025
d9f9074
npm trusted publishing
bdehamer Dec 10, 2025
3ac6e0f
Merge pull request #2201 from actions/npm-trusted-publishing
bdehamer Dec 10, 2025
c043714
use node24 for publishing
bdehamer Dec 10, 2025
e119159
Merge pull request #2203 from actions/node-update-for-publish
bdehamer Dec 10, 2025
369aa55
update to core 2.0.1 which has exec 2.0.0
salmanmkc Dec 11, 2025
fdbf9e3
Merge remote-tracking branch 'origin/main' into cache-bump-deps
salmanmkc Dec 11, 2025
7c1b12a
chore(cache): update @actions/core to 2.0.1
salmanmkc Dec 11, 2025
ddf2d52
Merge pull request #2198 from actions/cache-bump-deps
salmanmkc Dec 11, 2025
6785788
Merge remote-tracking branch 'origin/main' into prepare-cache-release…
salmanmkc Dec 11, 2025
bdd6eb4
update releases
salmanmkc Dec 11, 2025
c6502bc
PR number update in releases
salmanmkc Dec 11, 2025
cc6abe3
chore(releases): update release notes for v5.0.0 to remove punycode d…
salmanmkc Dec 11, 2025
e74405f
Merge pull request #2194 from actions/prepare-cache-release-v5.0.0
salmanmkc Dec 11, 2025
3af0128
chore(artifact): bump dependencies for Node.js 24 support
salmanmkc Dec 11, 2025
44ec738
Merge pull request #2209 from actions/version-bumps
salmanmkc Dec 11, 2025
2b48e40
docs(artifact): add v5.0.0 release notes
salmanmkc Dec 11, 2025
fcaf488
chore(artifact): bump version to v5.0.0
salmanmkc Dec 11, 2025
5a8462e
Merge pull request #2210 from actions/prepare-artifact-release
salmanmkc Dec 11, 2025
9d2227d
fix(artifact): update @azure/storage-blob to ^12.29.1 to fix punycode…
salmanmkc Dec 12, 2025
7b29e67
docs(artifact): bump to v5.0.1 and add release notes
salmanmkc Dec 12, 2025
5ef62e1
fix(cache): update @azure/storage-blob to ^12.29.1 to fix punycode de…
salmanmkc Dec 12, 2025
6fc2f67
docs(cache): bump to v5.0.1 and add release notes
salmanmkc Dec 12, 2025
74ac6db
fix(cache): update @azure/storage-blob to ^12.29.1 to address punycod…
salmanmkc Dec 12, 2025
8734e57
Merge pull request #2213 from actions/fix-cache-storage-blob
salmanmkc Dec 12, 2025
cf8caa4
Merge remote-tracking branch 'origin/main' into cache-v5.0.1-release
salmanmkc Dec 12, 2025
c655f38
docs(cache): add PR reference to v5.0.1 release notes
salmanmkc Dec 12, 2025
c6f0239
Merge remote-tracking branch 'origin/main' into fix-artifact-storage-…
salmanmkc Dec 12, 2025
b71834a
fix(artifact): update @azure/storage-blob to ^12.29.1 and remove depr…
salmanmkc Dec 12, 2025
b5e3b25
Merge pull request #2211 from actions/fix-artifact-storage-blob
salmanmkc Dec 12, 2025
2e53bd8
Merge pull request #2214 from actions/cache-v5.0.1-release
salmanmkc Dec 12, 2025
e263dfb
Merge remote-tracking branch 'origin/main' into artifact-v5.0.1-release
salmanmkc Dec 12, 2025
f8003d5
docs: add PR reference to artifact v5.0.1 release notes
salmanmkc Dec 12, 2025
2506e78
Merge pull request #2212 from actions/artifact-v5.0.1-release
salmanmkc Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "npm"
directory: "/packages/artifact"
schedule:
interval: "daily"
groups:
# Group minor and patch updates together but keep major separate
artifact-minor-patch:
update-types:
- "minor"
- "patch"
- package-ecosystem: "npm"
directory: "/packages/cache"
schedule:
interval: "daily"
groups:
# Group minor and patch updates together but keep major separate
cache-minor-patch:
update-types:
- "minor"
- "patch"
22 changes: 11 additions & 11 deletions .github/workflows/artifact-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x

# Need root node_modules because certain npm packages like jest are configured for the entire repository and it won't be possible
# without these to just compile the artifacts package
Expand All @@ -47,7 +47,7 @@ jobs:
echo -n 'hello from file 2' > artifact-path/second.txt

- name: Upload Artifacts
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const {default: artifact} = require('./packages/artifact/lib/artifact')
Expand Down Expand Up @@ -77,12 +77,12 @@ jobs:
needs: [upload]
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x

# Need root node_modules because certain npm packages like jest are configured for the entire repository and it won't be possible
# without these to just compile the artifacts package
Expand All @@ -96,7 +96,7 @@ jobs:
working-directory: packages/artifact

- name: List and Download Artifacts
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const {default: artifactClient} = require('./packages/artifact/lib/artifact')
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
}
}
- name: Delete Artifacts
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const {default: artifactClient} = require('./packages/artifact/lib/artifact')
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x

- name: npm install
run: npm install
Expand All @@ -32,7 +32,7 @@ jobs:
run: npm run bootstrap

- name: audit tools (without allow-list)
run: npm audit --audit-level=moderate
run: npm audit --audit-level=moderate --omit dev

- name: audit packages
run: npm run audit-all
12 changes: 7 additions & 5 deletions .github/workflows/cache-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x

# In order to save & restore cache from a shell script, certain env variables need to be set that are only available in the
# node context. This runs a local action that gets and sets the necessary env variables that are needed
Expand All @@ -39,9 +39,11 @@ jobs:
- name: Install root npm packages
run: npm ci

# We need to install only runtime dependencies (omit dev dependencies) to verify that what we're shipping is all
# that is needed
- name: Compile cache package
run: |
npm ci
npm ci --omit=dev
npm run tsc
working-directory: packages/cache

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cache-windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v5

- shell: bash
run: |
rm "C:\Program Files\Git\usr\bin\tar.exe"

- name: Set Node.js 20.x
uses: actions/setup-node@v1
- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x

# In order to save & restore cache from a shell script, certain env variables need to be set that are only available in the
# node context. This runs a local action that gets and sets the necessary env variables that are needed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
39 changes: 27 additions & 12 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,42 @@
name: Publish NPM

run-name: Publish NPM - ${{ github.event.inputs.package }}

on:
workflow_dispatch:
inputs:
package:
type: choice
required: true
description: 'core, artifact, cache, exec, github, glob, http-client, io, tool-cache, attest'
description: 'Which package to release'
options:
- artifact
- attest
- cache
- core
- exec
- github
- glob
- http-client
- io
- tool-cache


jobs:
test:
runs-on: macos-latest
runs-on: macos-latest-large

steps:
- name: setup repo
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: verify package exists
run: ls packages/${{ github.event.inputs.package }}

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: 24.x

- name: npm install
run: npm install
Expand All @@ -46,24 +61,24 @@ jobs:
path: packages/${{ github.event.inputs.package }}/*.tgz

publish:
runs-on: macos-latest
runs-on: macos-latest-large
needs: test
environment: npm-publish
permissions:
contents: read
id-token: write
steps:

- name: Set Node.js 24.x
uses: actions/setup-node@v5
with:
node-version: 24.x

- name: download artifact
uses: actions/download-artifact@v4
with:
name: ${{ github.event.inputs.package }}

- name: setup authentication
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
env:
NPM_TOKEN: ${{ secrets.TOKEN }}

- name: publish
run: npm publish --provenance *.tgz

Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,23 @@ jobs:

strategy:
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: [ubuntu-latest, macos-latest-large, windows-latest]

# Node 20 is the currently supported stable Node version for actions - https://docs.github.com/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runsusing-for-javascript-actions
# Node 24 is the new version being added with support in actions runners
node-version: [20.x, 24.x]
fail-fast: false

runs-on: ${{ matrix.runs-on }}

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set Node.js 20.x
uses: actions/setup-node@v4
- name: Set up Node ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: 20.x
node-version: ${{ matrix.node-version }}

- name: npm install
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: ${{ github.repository_owner == 'actions' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Update Octokit
working-directory: packages/github
run: |
Expand Down
Loading