@@ -20,15 +20,15 @@ jobs:
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- name : Checkout project
23
- uses : actions/checkout@v2
23
+ uses : actions/checkout@v3
24
24
- name : Use Node.js 16.xs
25
- uses : actions/setup-node@v2
25
+ uses : actions/setup-node@v3
26
26
with :
27
27
node-version : ' 16.x'
28
28
registry-url : ' https://registry.npmjs.org'
29
29
cache : ' npm'
30
30
- name : Restore cache
31
- uses : actions/cache@v2
31
+ uses : actions/cache@v3
32
32
with :
33
33
path : ' **/node_modules'
34
34
key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
47
47
name : Lint prose
48
48
runs-on : ubuntu-latest
49
49
steps :
50
- - uses : actions/checkout@v2
50
+ - uses : actions/checkout@v3
51
51
- uses : errata-ai/vale-action@reviewdog
52
52
env :
53
53
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
61
61
runs-on : ubuntu-latest
62
62
needs : lint
63
63
steps :
64
- - uses : actions/checkout@v2
64
+ - uses : actions/checkout@v3
65
65
66
66
- name : Print build settings
67
67
run : |
@@ -72,14 +72,14 @@ jobs:
72
72
echo "GATSBY_DEFAULT_APP_URL: $GATSBY_DEFAULT_APP_URL"
73
73
74
74
- name : Use Node.js 16.xs
75
- uses : actions/setup-node@v2
75
+ uses : actions/setup-node@v3
76
76
with :
77
77
node-version : ' 16.x'
78
78
registry-url : ' https://registry.npmjs.org'
79
79
cache : ' npm'
80
80
81
81
- name : Restore node_modules cache
82
- uses : actions/cache@v2
82
+ uses : actions/cache@v3
83
83
with :
84
84
path : ' **/node_modules'
85
85
key : ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
@@ -132,7 +132,7 @@ jobs:
132
132
- name : Post published URL to PR
133
133
# Run only if we did not skip the upload step and it's the first run for this PR.
134
134
if : steps.upload.outcome == 'success' && github.event.action == 'opened'
135
- uses : actions/github-script@0.8.0
135
+ uses : actions/github-script@v6
136
136
with :
137
137
github-token : ${{secrets.GITHUB_TOKEN}}
138
138
script : |
0 commit comments