Skip to content

Commit cd2651c

Browse files
Bump ts-jest from 29.1.2 to 29.4.1 (#1336)
* Bump ts-jest from 29.1.2 to 29.4.1 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.2 to 29.4.1. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.1.2...v29.4.1) --- updated-dependencies: - dependency-name: ts-jest dependency-version: 29.4.1 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * documentation update * check failure fix * text alignment * doc update * updated documentation and logs * doc update * update * doc update --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
1 parent a0853c2 commit cd2651c

File tree

6 files changed

+298
-46
lines changed

6 files changed

+298
-46
lines changed

.licenses/npm/semver-7.6.3.dep.yml renamed to .licenses/npm/semver-7.7.2.dep.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ This action provides the following functionality for GitHub Actions users:
1212
- Registering problem matchers for error output
1313
- Configuring authentication for GPR or npm
1414

15+
## Breaking changes in V5
16+
17+
- Enabled caching by default with package manager detection if no cache input is provided.
18+
> For workflows with elevated privileges or access to sensitive information, we recommend disabling automatic caching by setting `package-manager-cache: false` when caching is not needed for secure operation.
19+
20+
- Upgraded action from node20 to node24.
21+
> Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1)
22+
23+
For more details, see the full release notes on the [releases page](https://github.com/actions/setup-node/releases/v5.0.0)
24+
1525
## Usage
1626

1727
See [action.yml](action.yml)
@@ -57,6 +67,10 @@ See [action.yml](action.yml)
5767
# Default: ''
5868
cache: ''
5969

70+
# Used to disable automatic caching based on the package manager field in package.json. By default, caching is enabled if the package manager field is present and no cache input is provided'
71+
# default: true
72+
package-manager-cache: true
73+
6074
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc.
6175
# It will generate hash from the target file for primary key. It works only If cache is specified.
6276
# Supports wildcards or a list of file names for caching multiple dependencies.
@@ -137,17 +151,17 @@ It's **always** recommended to commit the lockfile of your package manager for s
137151

138152
The action has a built-in functionality for caching and restoring dependencies. It uses [actions/cache](https://github.com/actions/cache) under the hood for caching global packages data but requires less configuration settings. Supported package managers are `npm`, `yarn`, `pnpm` (v6.10+). The `cache` input is optional.
139153

140-
Caching is turned on by default when a `packageManager` field is detected in the `package.json` file. The `package-manager-cache` input provides control over this automatic caching behavior. By default, `package-manager-cache` is set to `true`, which enables caching when a valid package manager field is detected in the `package.json` file. To disable this automatic caching, set the `package-manager-cache` input to `false`.
154+
Caching is turned on by default when a `packageManager` field is detected in the `package.json` file and no `cache` input is provided. The `package-manager-cache` input provides control over this automatic caching behavior. By default, `package-manager-cache` is set to `true`, which enables caching when a valid package manager field is detected in the `package.json` file. To disable this automatic caching, set the `package-manager-cache` input to `false`.
141155

142156
```yaml
143157
steps:
144-
- uses: actions/checkout@v4
145-
- uses: actions/setup-node@v4
158+
- uses: actions/checkout@v5
159+
- uses: actions/setup-node@v5
146160
with:
147161
package-manager-cache: false
148162
- run: npm ci
149163
```
150-
> If no valid `packageManager` field is detected in the `package.json` file, caching will remain disabled unless explicitly configured.
164+
> If no valid `packageManager` field is detected in the `package.json` file, caching will remain disabled unless explicitly configured. For workflows with elevated privileges or access to sensitive information, we recommend disabling automatic caching by setting `package-manager-cache: false` when caching is not needed for secure operation.
151165

152166
The action defaults to search for the dependency file (`package-lock.json`, `npm-shrinkwrap.json` or `yarn.lock`) in the repository root, and uses its hash as a part of the cache key. Use `cache-dependency-path` for cases when multiple dependency files are used, or they are located in different subdirectories.
153167

@@ -250,4 +264,4 @@ Contributions are welcome! See [Contributor's Guide](docs/contributors.md)
250264

251265
## Code of Conduct
252266

253-
:wave: Be nice. See [our code of conduct](CODE_OF_CONDUCT.md)
267+
:wave: Be nice. See [our code of conduct](CODE_OF_CONDUCT.md)

0 commit comments

Comments
 (0)