Skip to content

Commit bbb99d2

Browse files
chore(deps): update dependencies (#1732)
* build(deps): bump the misc group across 1 directory with 11 updates Bumps the misc group with 11 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) | `1.10.1` | `1.11.1` | | [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.7.0` | `9.14.0` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `7.16.1` | `8.13.0` | | [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) | `29.5.12` | `29.5.14` | | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `20.14.11` | `22.9.0` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `7.16.1` | `8.13.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `7.16.1` | `8.13.0` | | [eslint](https://github.com/eslint/eslint) | `9.7.0` | `9.14.0` | | [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) | `28.6.0` | `28.9.0` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.2.3` | `29.2.5` | | [typescript](https://github.com/microsoft/TypeScript) | `5.5.3` | `5.6.3` | Updates `@actions/core` from 1.10.1 to 1.11.1 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Updates `@eslint/js` from 9.7.0 to 9.14.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/commits/v9.14.0/packages/js) Updates `typescript-eslint` from 7.16.1 to 8.13.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/typescript-eslint) Updates `@types/jest` from 29.5.12 to 29.5.14 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Updates `@types/node` from 20.14.11 to 22.9.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 7.16.1 to 8.13.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 7.16.1 to 8.13.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/parser) Updates `eslint` from 9.7.0 to 9.14.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.7.0...v9.14.0) Updates `eslint-plugin-jest` from 28.6.0 to 28.9.0 - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v28.6.0...v28.9.0) Updates `ts-jest` from 29.2.3 to 29.2.5 - [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.2.3...v29.2.5) Updates `typescript` from 5.5.3 to 5.6.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.5.3...v5.6.3) --- updated-dependencies: - dependency-name: "@actions/core" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: misc - dependency-name: "@eslint/js" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: misc - dependency-name: typescript-eslint dependency-type: direct:production update-type: version-update:semver-major dependency-group: misc - dependency-name: "@types/jest" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: misc - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-major dependency-group: misc - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major dependency-group: misc - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major dependency-group: misc - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: misc - dependency-name: eslint-plugin-jest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: misc - dependency-name: ts-jest dependency-type: direct:development update-type: version-update:semver-patch dependency-group: misc - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: misc ... Signed-off-by: dependabot[bot] <[email protected]> * chore: update dependencies --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent c1a0a35 commit bbb99d2

File tree

11 files changed

+225
-221
lines changed

11 files changed

+225
-221
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version-file: '.nvmrc'
21+
node-version-file: '.node-version'
2222
registry-url: 'https://registry.npmjs.org'
2323

2424
- name: Install Yarn
@@ -44,7 +44,7 @@ jobs:
4444

4545
- uses: actions/setup-node@v4
4646
with:
47-
node-version-file: '.nvmrc'
47+
node-version-file: '.node-version'
4848
registry-url: 'https://registry.npmjs.org'
4949

5050
- name: Install Yarn
@@ -84,7 +84,7 @@ jobs:
8484

8585
- uses: actions/setup-node@v4
8686
with:
87-
node-version-file: '.nvmrc'
87+
node-version-file: '.node-version'
8888
registry-url: 'https://registry.npmjs.org'
8989

9090
- name: Download artifact

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ jobs:
178178

179179
- uses: actions/setup-node@v4
180180
with:
181-
node-version-file: '.nvmrc'
181+
node-version-file: '.node-version'
182182

183183
- name: Build and Deploy
184184
uses: JamesIves/github-pages-deploy-action@v4

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
- uses: actions/setup-node@v4
1919
with:
20-
node-version-file: '.nvmrc'
20+
node-version-file: '.node-version'
2121
registry-url: 'https://registry.npmjs.org'
2222

2323
- name: Install Yarn

.github/workflows/version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# Setup .npmrc file to publish to npm
3131
- uses: actions/setup-node@v4
3232
with:
33-
node-version-file: '.nvmrc'
33+
node-version-file: '.node-version'
3434
registry-url: 'https://registry.npmjs.org'
3535
scope: '@jamesives'
3636

@@ -61,7 +61,7 @@ jobs:
6161
# Setup .npmrc file to publish to GitHub Packages
6262
- uses: actions/setup-node@v4
6363
with:
64-
node-version-file: '.nvmrc'
64+
node-version-file: '.node-version'
6565
registry-url: 'https://npm.pkg.github.com'
6666
scope: '@jamesives'
6767

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.11.0

.nvmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When contributing to this repository, please first discuss the change you wish t
1515

1616
## Deploying 🚚
1717

18-
In order to deploy and test your own fork of this action, you must commit the `node_modules` dependencies. Be sure to run `nvm use` before installing any dependencies. You can learn more about nvm [here](https://github.com/nvm-sh/nvm/blob/master/README.md).
18+
In order to deploy and test your own fork of this action, you must commit the `node_modules` dependencies. Be sure to switch to the Node version listed in the [.node-version](./.node-version) file first.
1919

2020
To do this you can follow the instructions below:
2121

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default tseslint.config(
1717
},
1818
rules: {
1919
'jest/no-conditional-expect': 'off',
20-
'@typescript-eslint/ban-types': [
20+
'@typescript-eslint/no-restricted-types': [
2121
'error',
2222
{
2323
types: {

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,27 @@
3535
"deployment"
3636
],
3737
"dependencies": {
38-
"@actions/core": "1.10.1",
38+
"@actions/core": "1.11.1",
3939
"@actions/exec": "1.1.1",
4040
"@actions/github": "6.0.0",
4141
"@actions/io": "1.1.3",
4242
"@eslint/js": "^9.0.0",
43-
"typescript-eslint": "^7.7.0"
43+
"typescript-eslint": "^8.13.0"
4444
},
4545
"devDependencies": {
46-
"@types/jest": "29.5.12",
47-
"@types/node": "20.14.11",
48-
"@typescript-eslint/eslint-plugin": "7.16.1",
49-
"@typescript-eslint/parser": "7.16.1",
50-
"eslint": "9.7.0",
46+
"@types/jest": "29.5.14",
47+
"@types/node": "22.9.0",
48+
"@typescript-eslint/eslint-plugin": "8.13.0",
49+
"@typescript-eslint/parser": "8.13.0",
50+
"eslint": "9.14.0",
5151
"eslint-config-prettier": "9.1.0",
52-
"eslint-plugin-jest": "28.6.0",
52+
"eslint-plugin-jest": "28.9.0",
5353
"eslint-plugin-prettier": "5.2.1",
5454
"jest": "29.7.0",
5555
"jest-circus": "29.7.0",
5656
"prettier": "3.3.3",
5757
"rimraf": "6.0.1",
58-
"ts-jest": "29.2.3",
59-
"typescript": "5.5.3"
58+
"ts-jest": "29.2.5",
59+
"typescript": "5.6.3"
6060
}
6161
}

src/worktree.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ export async function generateWorktree(
9797
action.silent
9898
)
9999
} catch (error) {
100+
if (!action.silent) {
101+
console.error(error)
102+
}
103+
100104
info(
101105
'Error encountered while checking out branch. Attempting to continue with a new branch name.'
102106
)
@@ -111,6 +115,10 @@ export async function generateWorktree(
111115
action.silent
112116
)
113117
} catch (error) {
118+
if (!action.silent) {
119+
console.error(error)
120+
}
121+
114122
info('Unable to track the origin branch…')
115123

116124
checkout = new GitCheckout(branchName)

0 commit comments

Comments
 (0)