Skip to content

Commit 11fa479

Browse files
build: Upgrade to Node.js 22 (#266)
* feat: Upgrade to Node.js 22 I've upgraded your project to Node.js version 22. Here's what I changed: - Updated `engines.node` in `package.json` to `>=22.0.0`. - Updated the `@types/node` dependency to `^22.0.0`. - Updated your GitHub workflows (`build.yml` and `release.yml`) to use Node.js 22. All your tests and build processes passed successfully with the new Node.js version. * bump packages * upgrade workflows --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 1fb64b4 commit 11fa479

File tree

7 files changed

+197
-197
lines changed

7 files changed

+197
-197
lines changed

.github/workflows/build.yml

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

1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version: 22
1919
cache: 'npm'
2020

2121
- name: "Install buf CLI"

.github/workflows/generate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
ref: ${{ env.BASE_BRANCH }}
3434

3535
- name: "Install buf CLI"
36-
uses: bufbuild/buf-setup-action@v1.29.0
36+
uses: bufbuild/buf-setup-action@v1
3737
with:
3838
buf_user: ${{ secrets.BUF_USER }}
3939
buf_api_token: ${{ secrets.BUF_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
4949
run: npm run build
5050

5151
- name: Create Pull Request
52-
uses: peter-evans/create-pull-request@v7.0.1
52+
uses: peter-evans/create-pull-request@v7
5353
with:
5454
base: ${{ env.BASE_BRANCH }}
5555
branch: ${{ env.PR_BRANCH }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717

1818
- name: Run Markdown link check
19-
uses: gaurav-nelson/github-action-markdown-link-check@v1
19+
uses: tcort/github-action-markdown-link-check@v1
2020
with:
2121
config-file: '.github/linters/mlc_config.json'
2222
use-quiet-mode: 'yes'

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626

27-
- uses: amannn/action-semantic-pull-request@v5.5.3
27+
- uses: amannn/action-semantic-pull-request@v5
2828
env:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
with:

.github/workflows/release.yml

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

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 20
21+
node-version: 22
2222
cache: 'npm'
2323

2424
- name: "Obtain Github App token"
2525
id: app-token
26-
uses: getsentry/action-github-app-token@v3.0.0
26+
uses: getsentry/action-github-app-token@v3
2727
with:
2828
app_id: ${{ secrets.BOT_APP_ID }}
2929
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
3030

3131
- name: "Install buf CLI"
32-
uses: bufbuild/buf-setup-action@v1.29.0
32+
uses: bufbuild/buf-setup-action@v1
3333
with:
3434
buf_user: ${{ secrets.BUF_USER }}
3535
buf_api_token: ${{ secrets.BUF_TOKEN }}

0 commit comments

Comments
 (0)