File tree Expand file tree Collapse file tree 10 files changed +495
-457
lines changed Expand file tree Collapse file tree 10 files changed +495
-457
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ' ubuntu-latest'
15
15
16
16
steps :
17
- - uses : ' actions/checkout@v3 '
17
+ - uses : ' actions/checkout@v4 '
18
18
19
19
- uses : ' google-github-actions/auth@main'
20
20
with :
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ jobs:
34
34
name : ' from_${{ matrix.name }}'
35
35
36
36
steps :
37
- - uses : ' actions/checkout@v3 '
37
+ - uses : ' actions/checkout@v4 '
38
38
39
39
- name : ' Compute service name'
40
40
run : |-
41
41
echo "SERVICE_NAME=${GITHUB_JOB}-${{ matrix.name }}-${GITHUB_SHA::7}-${GITHUB_RUN_NUMBER}" >> ${GITHUB_ENV}
42
42
43
- - uses : ' actions/setup-node@v3 '
43
+ - uses : ' actions/setup-node@v4 '
44
44
with :
45
- node-version : ' 16 .x'
45
+ node-version : ' 20 .x'
46
46
47
47
- run : ' npm ci && npm run build'
48
48
@@ -108,7 +108,7 @@ jobs:
108
108
runs-on : ' ubuntu-latest'
109
109
110
110
steps :
111
- - uses : ' actions/checkout@v3 '
111
+ - uses : ' actions/checkout@v4 '
112
112
113
113
- name : ' Compute service name'
114
114
run : |-
@@ -118,9 +118,9 @@ jobs:
118
118
run : |-
119
119
sed -i "s/run-full-yaml/${{ env.SERVICE_NAME }}/" ./tests/unit/service.yaml
120
120
121
- - uses : ' actions/setup-node@v3 '
121
+ - uses : ' actions/setup-node@v4 '
122
122
with :
123
- node-version : ' 16 .x'
123
+ node-version : ' 20 .x'
124
124
125
125
- run : ' npm ci && npm run build'
126
126
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
25
25
runs-on : ' ${{ matrix.os }}'
26
26
27
27
steps :
28
- - uses : ' actions/checkout@v3 '
28
+ - uses : ' actions/checkout@v4 '
29
29
30
- - uses : ' actions/setup-node@v3 '
30
+ - uses : ' actions/setup-node@v4 '
31
31
with :
32
- node-version : ' 16 .x'
32
+ node-version : ' 20 .x'
33
33
34
34
- name : ' npm build'
35
35
run : ' npm ci && npm run build'
Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ support](https://cloud.google.com/support).**
16
16
the secrets being requested. See [ Authorization] ( #authorization ) for more
17
17
information.
18
18
19
- - This action runs using Node 16. If you are using self-hosted GitHub Actions
20
- runners, you must use runner version
21
- [ 2.285.0] ( https://github.com/actions/virtual-environments ) or newer.
19
+ - This action runs using Node 20. If you are using self-hosted GitHub Actions
20
+ runners, you must use a [ runner
21
+ version] ( https://github.com/actions/virtual-environments ) that supports this
22
+ version or newer.
22
23
23
24
24
25
## Usage
33
34
id-token : ' write'
34
35
35
36
steps :
36
- - uses : ' actions/checkout@v3 '
37
+ - uses : ' actions/checkout@v4 '
37
38
38
39
- uses : ' google-github-actions/auth@v1'
39
40
with :
Original file line number Diff line number Diff line change @@ -176,5 +176,5 @@ branding:
176
176
color : ' blue'
177
177
178
178
runs :
179
- using : ' node16 '
179
+ using : ' node20 '
180
180
main : ' dist/main/index.js'
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- # Use the official lightweight Node.js 16 image.
15
+ # Use the official lightweight Node.js 20 image.
16
16
# https://hub.docker.com/_/node
17
- FROM node:16 -slim
17
+ FROM node:20 -slim
18
18
19
19
# Create and change to the app directory.
20
20
WORKDIR /usr/src/app
You can’t perform that action at this time.
0 commit comments