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 1414 runs-on : ' ubuntu-latest'
1515
1616 steps :
17- - uses : ' actions/checkout@v3 '
17+ - uses : ' actions/checkout@v4 '
1818
1919 - uses : ' google-github-actions/auth@main'
2020 with :
Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ jobs:
3434 name : ' from_${{ matrix.name }}'
3535
3636 steps :
37- - uses : ' actions/checkout@v3 '
37+ - uses : ' actions/checkout@v4 '
3838
3939 - name : ' Compute service name'
4040 run : |-
4141 echo "SERVICE_NAME=${GITHUB_JOB}-${{ matrix.name }}-${GITHUB_SHA::7}-${GITHUB_RUN_NUMBER}" >> ${GITHUB_ENV}
4242
43- - uses : ' actions/setup-node@v3 '
43+ - uses : ' actions/setup-node@v4 '
4444 with :
45- node-version : ' 16 .x'
45+ node-version : ' 20 .x'
4646
4747 - run : ' npm ci && npm run build'
4848
@@ -108,7 +108,7 @@ jobs:
108108 runs-on : ' ubuntu-latest'
109109
110110 steps :
111- - uses : ' actions/checkout@v3 '
111+ - uses : ' actions/checkout@v4 '
112112
113113 - name : ' Compute service name'
114114 run : |-
@@ -118,9 +118,9 @@ jobs:
118118 run : |-
119119 sed -i "s/run-full-yaml/${{ env.SERVICE_NAME }}/" ./tests/unit/service.yaml
120120
121- - uses : ' actions/setup-node@v3 '
121+ - uses : ' actions/setup-node@v4 '
122122 with :
123- node-version : ' 16 .x'
123+ node-version : ' 20 .x'
124124
125125 - run : ' npm ci && npm run build'
126126
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
2525 runs-on : ' ${{ matrix.os }}'
2626
2727 steps :
28- - uses : ' actions/checkout@v3 '
28+ - uses : ' actions/checkout@v4 '
2929
30- - uses : ' actions/setup-node@v3 '
30+ - uses : ' actions/setup-node@v4 '
3131 with :
32- node-version : ' 16 .x'
32+ node-version : ' 20 .x'
3333
3434 - name : ' npm build'
3535 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).**
1616 the secrets being requested. See [ Authorization] ( #authorization ) for more
1717 information.
1818
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.
2223
2324
2425## Usage
3334 id-token : ' write'
3435
3536 steps :
36- - uses : ' actions/checkout@v3 '
37+ - uses : ' actions/checkout@v4 '
3738
3839 - uses : ' google-github-actions/auth@v1'
3940 with :
Original file line number Diff line number Diff line change @@ -176,5 +176,5 @@ branding:
176176 color : ' blue'
177177
178178runs :
179- using : ' node16 '
179+ using : ' node20 '
180180 main : ' dist/main/index.js'
Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- # Use the official lightweight Node.js 16 image.
15+ # Use the official lightweight Node.js 20 image.
1616# https://hub.docker.com/_/node
17- FROM node:16 -slim
17+ FROM node:20 -slim
1818
1919# Create and change to the app directory.
2020WORKDIR /usr/src/app
You can’t perform that action at this time.
0 commit comments