File tree Expand file tree Collapse file tree 6 files changed +17
-21
lines changed Expand file tree Collapse file tree 6 files changed +17
-21
lines changed Original file line number Diff line number Diff line change 31
31
uses : actions/checkout@v4
32
32
33
33
- name : Setup Node
34
- uses : actions/setup-node@v3
34
+ uses : actions/setup-node@v4
35
35
with :
36
- node-version : 20
36
+ node-version : 22
37
37
cache : npm
38
38
39
39
- name : Install Dependencies
Original file line number Diff line number Diff line change 53
53
54
54
steps :
55
55
- name : Checkout repository
56
- uses : actions/checkout@v2
56
+ uses : actions/checkout@v4
57
57
58
58
# Initializes the CodeQL tools for scanning.
59
59
- name : Initialize CodeQL
Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v4
23
23
24
24
- name : Setup Node
25
- uses : actions/setup-node@v3
25
+ uses : actions/setup-node@v4
26
26
with :
27
- node-version : 20
27
+ node-version : 22
28
28
cache : npm
29
29
30
30
- name : Install Dependencies
@@ -35,11 +35,11 @@ jobs:
35
35
36
36
- if : github.ref == 'refs/heads/main'
37
37
name : Publish to GitHub Pages
38
- uses : peaceiris/actions-gh-pages@v3
38
+ uses : peaceiris/actions-gh-pages@v4
39
39
40
40
with :
41
41
github_token : ${{ secrets.GITHUB_TOKEN }}
42
42
publish_dir : ./docs
43
- user_name : ' googlemaps-bot'
44
-
43
+ user_name : " googlemaps-bot"
44
+
45
45
commit_message : ${{ github.event.head_commit.message }}
Original file line number Diff line number Diff line change 21
21
chrome :
22
22
runs-on : ubuntu-latest
23
23
services :
24
- hub :
24
+ hub :
25
25
image : selenium/standalone-chrome
26
26
volumes :
27
27
- ${{ github.workspace }}:${{ github.workspace }}
33
33
uses : actions/checkout@v4
34
34
35
35
- name : Setup Node
36
- uses : actions/setup-node@v3
36
+ uses : actions/setup-node@v4
37
37
with :
38
- node-version : 20
38
+ node-version : 22
39
39
cache : npm
40
40
41
41
- name : Install Dependencies
Original file line number Diff line number Diff line change @@ -32,21 +32,19 @@ jobs:
32
32
steps :
33
33
- id : release
34
34
name : Release Please
35
- uses : google-github-actions /release-please-action@v3
35
+ uses : googleapis /release-please-action@v4
36
36
37
37
with :
38
38
release-type : node
39
39
token : ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}
40
- package-name : " @googlemaps/api-loader"
41
- bump-minor-pre-major : true
42
40
43
41
# Everything below is for NPM publishing when a release is cut.
44
42
# Note the "if" statement on all commands to make sure that publishing
45
43
# only happens when a release is cut.
46
44
47
45
- if : ${{ steps.release.outputs.release_created }}
48
46
name : Checkout
49
- uses : actions/checkout@v3
47
+ uses : actions/checkout@v4
50
48
51
49
- if : ${{ steps.release.outputs.release_created }}
52
50
name : Setup Node for Dependency Installation
Original file line number Diff line number Diff line change @@ -18,13 +18,11 @@ jobs:
18
18
test :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - uses : actions/checkout@v2
22
- - uses : actions/cache@v2
21
+ - uses : actions/checkout@v4
22
+ - uses : actions/setup-node@v4
23
23
with :
24
- path : ~/.npm
25
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
26
- restore-keys : |
27
- ${{ runner.os }}-node-
24
+ node-version : 22
25
+ cache : npm
28
26
- run : npm i
29
27
- run : npm run lint
30
28
- run : npm test
You can’t perform that action at this time.
0 commit comments