Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
eff380d
Fix macos latest check failures (#1041)
HarithaVattikuti May 22, 2024
1e60f62
Bump braces from 3.0.2 to 3.0.3 (#1087)
dependabot[bot] Jun 27, 2024
26961cf
Documentation update in the README file (#1106)
suyashgaonkar Jul 15, 2024
1c7b2db
Fix: windows arm64 setup (#1126)
priyagupta108 Sep 6, 2024
aa363de
Create publish-immutable-action.yml
Jcambass Sep 2, 2024
97ca147
Merge pull request #1125 from actions/add-is-release-workflow
Jcambass Sep 10, 2024
d6ebc7b
Upgrade IA Publish
Jcambass Sep 16, 2024
0a44ba7
Correct version string (#1124)
fulldecent Sep 19, 2024
88de2a3
Resolve High Security Alerts by upgrading Dependencies (#1132)
aparnajyothi-y Sep 24, 2024
aca7b64
Merge pull request #1134 from actions/Jcambass-patch-1
Jcambass Sep 26, 2024
abb238b
Revise `isGhes` logic (#1148)
jww3 Oct 21, 2024
39370e3
fix: add arch to cached path (#843)
pengx17 Oct 24, 2024
48b9067
Add macos-13 to the workflows and upgrade publish-actions from 0.2.2 …
aparnajyothi-y Dec 18, 2024
fbeca22
Update README.md (#1193)
Jan 16, 2025
5eef37b
Create dependabot.yml (#1192)
HarithaVattikuti Jan 16, 2025
8f9cc17
Use the new cache service: upgrade `@actions/cache` to `^4.0.0` (#1191)
priyagupta108 Jan 16, 2025
0bc26de
Bump pnpm/action-setup from 2 to 4 (#1194)
dependabot[bot] Jan 21, 2025
111c4be
Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 (#1195)
dependabot[bot] Jan 21, 2025
260f870
Bump semver from 7.6.0 to 7.6.3 (#1196)
dependabot[bot] Jan 21, 2025
574f09a
Bump @types/jest from 29.5.12 to 29.5.14 (#1201)
dependabot[bot] Jan 21, 2025
1d0ff46
Bump undici from 5.28.4 to 5.28.5 (#1205)
dependabot[bot] Jan 22, 2025
8026329
Bump @actions/glob from 0.4.0 to 0.5.0 (#1200)
dependabot[bot] Jan 27, 2025
a7c2d94
actions/cache upgrade (#1251)
gowridurgad Mar 11, 2025
22c0e74
Bump @vercel/ncc from 0.38.1 to 0.38.3 (#1203)
dependabot[bot] Mar 12, 2025
cdca736
Bump @actions/tool-cache from 2.0.1 to 2.0.2 (#1220)
dependabot[bot] Mar 13, 2025
1ccdddc
Make eslint-compact matcher compatible with Stylelint (#98)
FloEdelmann Mar 24, 2025
40337cb
Add support for indented eslint output (#1245)
fregante Mar 24, 2025
e3ce749
feat: support private mirrors (#1240)
marco-ippolito Apr 2, 2025
49933ea
Bump @action/cache from 4.0.2 to 4.0.3 (#1262)
aparnajyothi-y Apr 2, 2025
08f58d1
Bump @octokit/request-error and @actions/github (#1227)
dependabot[bot] Jun 18, 2025
7e24a65
Bump uuid from 9.0.1 to 11.1.0 (#1273)
dependabot[bot] Jul 15, 2025
65becef
Bump undici from 5.28.5 to 5.29.0 (#1295)
dependabot[bot] Jul 25, 2025
5e2628c
Bumps form-data (#1332)
gowridurgad Jul 31, 2025
d7a1131
Enhance caching in setup-node with automatic package manager detectio…
priya-kinthali Aug 26, 2025
b7234cc
Upgrade action to use node24 (#1325)
salmanmkc Sep 3, 2025
a0853c2
Bump actions/checkout from 4 to 5 (#1345)
dependabot[bot] Sep 3, 2025
cd2651c
Bump ts-jest from 29.1.2 to 29.4.1 (#1336)
dependabot[bot] Sep 9, 2025
89d709d
Bump prettier from 2.8.8 to 3.6.2 (#1334)
dependabot[bot] Sep 18, 2025
1342781
Bump actions/publish-action from 0.3.0 to 0.4.0 (#1362)
dependabot[bot] Oct 8, 2025
2028fbc
Limit automatic caching to npm, update workflows and documentation (#…
priyagupta108 Oct 14, 2025
dda4788
Add example for restore-only cache in documentation (#1419)
aparnajyothi-y Oct 21, 2025
633bb92
Bump @actions/cache from 4.0.3 to 4.1.0 (#1384)
dependabot[bot] Nov 18, 2025
b9b25d4
Remove always-auth configuration handling from action (#1436)
priyagupta108 Nov 26, 2025
a4d2e2b
Bump actions/checkout from 5 to 6 (#1439)
dependabot[bot] Dec 3, 2025
395ad32
Bump js-yaml from 3.14.1 to 3.14.2 (#1435)
dependabot[bot] Dec 3, 2025
65d868f
Update Documentation for Lockfile (#1454)
mahabaleshwars Dec 18, 2025
21ddc7b
Correct mirror option typos (#1442)
MikeMcC399 Jan 13, 2026
2951748
Bump @actions/cache to v5.0.1 (#1449)
salmanmkc Jan 13, 2026
621ac41
README.md: bump to latest released checkout version v6 (#1446)
deining Jan 14, 2026
8e49463
Fix README typo (#1226)
munyari Jan 14, 2026
6044e13
Docs: bump actions/checkout from v5 to v6 (#1468)
aparnajyothi-y Jan 15, 2026
d02c89d
Fix npm audit issues (#1491)
gowridurgad Feb 10, 2026
efcb663
fix: remove hardcoded bearer (#1467)
marco-ippolito Feb 19, 2026
774c1d6
feat(node-version-file): support parsing `devEngines` field (#1283)
susnux Feb 23, 2026
c882bff
Replace uuid with crypto.randomUUID() (#1378)
trivikr Feb 26, 2026
54045ab
Scope test lockfiles by package manager and update cache tests (#1495)
gowridurgad Feb 26, 2026
53b8394
Bump minimatch from 3.1.2 to 3.1.5 (#1498)
dependabot[bot] Mar 2, 2026
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
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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:
# Enable version updates for npm
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
schedule:
interval: 'weekly'

# Enable version updates for GitHub Actions
- package-ecosystem: 'github-actions'
# Workflow files stored in the default location of `.github/workflows`
# You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.
directory: '/'
schedule:
interval: 'weekly'
2 changes: 1 addition & 1 deletion .github/eslint-compact.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"owner": "eslint-compact",
"pattern": [
{
"regexp": "^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s(Error|Warning|Info)\\s-\\s(.+)\\s\\((.+)\\)$",
"regexp": "^(.+):\\sline\\s(\\d+),\\scol\\s(\\d+),\\s([Ee]rror|[Ww]arning|[Ii]nfo)\\s-\\s(.+)\\s\\((.+)\\)$",
"file": 1,
"line": 2,
"column": 3,
Expand Down
2 changes: 1 addition & 1 deletion .github/eslint-stylish.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"owner": "eslint-stylish",
"pattern": [
{
"regexp": "^([^\\s].*)$",
"regexp": "^\\s*([^\\s].*)$",
"file": 1
},
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/basic-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
name: Basic validation
uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
with:
node-version: '20.x'
node-version: '24.x'
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
with:
node-version: '20.x'
node-version: '24.x'
103 changes: 81 additions & 22 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 16]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node
Expand All @@ -41,12 +41,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 16]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 6.10.0
- name: Generate pnpm file
Expand Down Expand Up @@ -74,14 +74,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14, 16]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Yarn version
run: yarn --version
- name: Generate yarn file
run: yarn install
run: yarn install --ignore-engines
- name: Remove dependencies
shell: pwsh
run: Remove-Item node_modules -Force -Recurse
Expand All @@ -106,10 +106,10 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12, 14, 16]
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Update yarn
run: yarn set version 3.6.4
- name: Yarn version
Expand Down Expand Up @@ -139,11 +139,11 @@ jobs:
name: Test yarn subprojects
strategy:
matrix:
node-version: [12, 14, 16]
node-version: [20, 22, 24]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: prepare sub-projects
run: __tests__/prepare-yarn-subprojects.sh yarn1
Expand All @@ -166,11 +166,11 @@ jobs:
name: Test yarn subprojects all locally managed
strategy:
matrix:
node-version: [12, 14, 16]
node-version: [20, 22, 24]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: prepare sub-projects
run: __tests__/prepare-yarn-subprojects.sh keepcache keepcache
Expand All @@ -193,11 +193,11 @@ jobs:
name: Test yarn subprojects some locally managed
strategy:
matrix:
node-version: [12, 14, 16]
node-version: [20, 22, 24]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: prepare sub-projects
run: __tests__/prepare-yarn-subprojects.sh global
Expand All @@ -220,11 +220,11 @@ jobs:
name: Test yarn subprojects managed by git
strategy:
matrix:
node-version: [12, 14, 16]
node-version: [20, 22, 24]
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: prepare sub-projects
run: /bin/bash __tests__/prepare-yarn-subprojects.sh keepcache
Expand All @@ -243,3 +243,62 @@ jobs:
cache-dependency-path: |
sub2/*.lock
sub3/*.lock

node-npm-packageManager-auto-cache:
name: Test auto cache with top-level packageManager
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v6
- name: Create package.json with packageManager field
run: |
echo '{ "name": "test-project", "version": "1.0.0", "packageManager": "npm@8.0.0" }' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash

node-npm-devEngines-auto-cache:
name: Test auto cache with devEngines.packageManager
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v6
- name: Create package.json with devEngines field
run: |
echo '{
"name": "test-project",
"version": "1.0.0",
"devEngines": {
"packageManager": {
"name": "npm",
"onFail": "error"
}
}
}' > package.json
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node with caching enabled
uses: ./
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
16 changes: 8 additions & 8 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,28 @@ jobs:
env:
https_proxy: http://squid-proxy:3128
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Clear tool cache
run: rm -rf $RUNNER_TOOL_CACHE/*
- name: Setup node 14
- name: Setup node 24
uses: ./
with:
node-version: 14.x
node-version: 24.x
- name: Verify node and npm
run: __tests__/verify-node.sh 14
run: __tests__/verify-node.sh 24

test-bypass-proxy:
runs-on: ubuntu-latest
env:
https_proxy: http://no-such-proxy:3128
no_proxy: api.github.com,github.com,nodejs.org,registry.npmjs.org,*.s3.amazonaws.com,s3.amazonaws.com
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Clear tool cache
run: rm -rf $RUNNER_TOOL_CACHE/*
- name: Setup node 11
- name: Setup node 24
uses: ./
with:
node-version: 11
node-version: 24
- name: Verify node and npm
run: __tests__/verify-node.sh 11
run: __tests__/verify-node.sh 24
20 changes: 20 additions & 0 deletions .github/workflows/publish-immutable-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Publish Immutable Action Version'

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write

steps:
- name: Checking out
uses: actions/checkout@v6
- name: Publish
id: publish
uses: actions/publish-immutable-action@v0.0.4
2 changes: 1 addition & 1 deletion .github/workflows/release-new-action-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Update the ${{ env.TAG_NAME }} tag
uses: actions/publish-action@v0.2.2
uses: actions/publish-action@v0.4.0
with:
source-tag: ${{ env.TAG_NAME }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
Loading