Skip to content

Commit f4ba1bb

Browse files
authored
chore: update workflow action versions (#1336)
1 parent cea3e51 commit f4ba1bb

File tree

4 files changed

+15
-12
lines changed

4 files changed

+15
-12
lines changed

.github/release-please-config.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"bump-minor-pre-major": true
3+
}

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ jobs:
2121
docs:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525
- name: Setup node
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
28-
node_version: 18
28+
node_version: 22
2929
cache: npm
3030
cache-dependency-path: package-lock.json
3131
- run: npm ci

.github/workflows/release-please.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,27 @@ jobs:
3232
steps:
3333
- id: release
3434
name: Release Please
35-
uses: google-github-actions/release-please-action@v3
35+
uses: googleapis/release-please-action@v4
3636

3737
with:
3838
release-type: node
3939
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
4040
package-name: "@googlemaps/google-maps-services-js"
41-
bump-minor-pre-major: true
41+
config-file: .github/release-please-config.json
4242

4343
# Everything below is for NPM publishing when a release is cut.
4444
# Note the "if" statement on all commands to make sure that publishing
4545
# only happens when a release is cut.
4646

4747
- if: ${{ steps.release.outputs.release_created }}
4848
name: Checkout
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050

5151
- if: ${{ steps.release.outputs.release_created }}
5252
name: Setup Node for Dependency Installation
53-
uses: actions/setup-node@v3
53+
uses: actions/setup-node@v4
5454
with:
55-
node-version: 20
55+
node-version: 22
5656
cache: npm
5757

5858
- if: ${{ steps.release.outputs.release_created }}
@@ -62,7 +62,7 @@ jobs:
6262
# Now configure node with the registry used for publishing
6363
- if: ${{ steps.release.outputs.release_created }}
6464
name: Setup Node for Publishing
65-
uses: actions/setup-node@v3
65+
uses: actions/setup-node@v4
6666
with:
6767
node-version: 20
6868
registry-url: "https://wombat-dressing-room.appspot.com/"

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525

2626
strategy:
2727
matrix:
28-
node-version: [16.x, 18.x, 20.x]
28+
node-version: [18.x, 20.x, 22.x]
2929

3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
- name: Use Node.js ${{ matrix.node-version }}
34-
uses: actions/setup-node@v3
34+
uses: actions/setup-node@v4
3535
with:
3636
node-version: ${{ matrix.node-version }}
3737
cache: npm

0 commit comments

Comments
 (0)