diff --git a/.github/SECURITY.md b/.github/SECURITY.md index d0fe1c5..9e09568 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -5,9 +5,10 @@ | Version | Supported | |---------|--------------------| +| 5.x.x | :white_check_mark: | +| 4.x.x | :white_check_mark: | | 3.x.x | :white_check_mark: | -| 2.x.x | :white_check_mark: | -| < 2.0 | :x: | +| < 3.0 | :x: | ## Reporting a Vulnerability diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54d73d3..a8912e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [20, 22] - pnpm: [8, 9] + node: [22, 24] + pnpm: [9, 10] steps: - uses: actions/checkout@v5 - uses: ./ diff --git a/README.md b/README.md index c4b215b..55adfe1 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ jobs: - name: setup node and pnpm uses: dafnik/setup-node-pnpm@v4 # with: - # node: 22 + # node: 24 # node-file: '' # cwd: '.' # install: false @@ -26,7 +26,7 @@ jobs: | Inputs | Default value | Description | |--------------------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `pnpm` | | PNPM version to install | -| `node` | `22` | Version Spec of the version to use in SemVer notation.
It also emits such aliases as lts, latest, nightly and canary builds.
Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node | +| `node` | `24` | Version Spec of the version to use in SemVer notation.
It also emits such aliases as lts, latest, nightly and canary builds.
Examples: 12.x, 10.15.1, >=10.15.0, lts/Hydrogen, 16-nightly, latest, node | | `node-file` | `''` | File containing the version Spec of the version to use.
Examples: .nvmrc, .node-version, .tool-versions.
If `node` and `node-file` are both provided the action will use the version from `node-file`. | | `cwd` | `.` | Changes pnpm-lock.yaml lookup location and the work directory of "pnpm install" if enabled | | `package_file` | `package.json` | File path to the package.json to read "packageManager" configuration (also supports package.yml). Works in conjunction with "cwd" input. | diff --git a/action.yml b/action.yml index 55899cc..d5196de 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: node: description: 'Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0.' required: false - default: '22' + default: '24' node-file: description: 'File containing the version Spec of the version to use. Examples: .nvmrc, .node-version, .tool-versions. If "node" and "node-file" are both provided the action will use the version from "node-file".' required: false diff --git a/test/pnpm-lock.yaml b/test/pnpm-lock.yaml index 9125f5d..92a6bb0 100644 --- a/test/pnpm-lock.yaml +++ b/test/pnpm-lock.yaml @@ -1,11 +1,29 @@ -lockfileVersion: '6.0' +lockfileVersion: '9.0' -devDependencies: - '@types/node': - specifier: latest - version: 18.15.11 +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + devDependencies: + '@types/node': + specifier: latest + version: 24.9.2 packages: - /@types/node@18.15.11: - resolution: {integrity: sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==} - dev: true + + '@types/node@24.9.2': + resolution: {integrity: sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA==} + + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} + +snapshots: + + '@types/node@24.9.2': + dependencies: + undici-types: 7.16.0 + + undici-types@7.16.0: {} diff --git a/test/test-package-version-manager/pnpm-lock.yaml b/test/test-package-version-manager/pnpm-lock.yaml index 9125f5d..d9774c7 100644 --- a/test/test-package-version-manager/pnpm-lock.yaml +++ b/test/test-package-version-manager/pnpm-lock.yaml @@ -1,11 +1,22 @@ -lockfileVersion: '6.0' +lockfileVersion: '9.0' -devDependencies: - '@types/node': - specifier: latest - version: 18.15.11 +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + devDependencies: + '@types/node': + specifier: latest + version: 18.15.11 packages: - /@types/node@18.15.11: + + '@types/node@18.15.11': resolution: {integrity: sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q==} - dev: true + +snapshots: + + '@types/node@18.15.11': {}