Skip to content

Commit f6e3aa3

Browse files
build(deps):Update google-github-actions, actions/checkout, and setup-node for appengine/typescript (GoogleCloudPlatform#2580)
* build(deps): build(deps): Update google-github-actions, actions/checkout, and setup-node for appengine/metadata Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
1 parent 07f6bf1 commit f6e3aa3

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/appengine-typescript.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
pull-requests: 'write'
2222
id-token: 'write'
2323
steps:
24-
- uses: 'google-github-actions/auth@v0.3.1'
24+
- uses: actions/checkout@v3
25+
with:
26+
ref: ${{github.event.pull_request.head.ref}}
27+
repository: ${{github.event.pull_request.head.repo.full_name}}
28+
- uses: 'google-github-actions/auth@v0.6.0'
2529
with:
2630
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
2731
service_account: 'kokoro-system-test@long-door-651.iam.gserviceaccount.com'
2832
create_credentials_file: 'true'
2933
access_token_lifetime: 600s
30-
- uses: actions/checkout@v2
31-
with:
32-
ref: ${{github.event.pull_request.head.ref}}
33-
repository: ${{github.event.pull_request.head.repo.full_name}}
34-
- uses: actions/setup-node@v2
34+
- uses: actions/setup-node@v3
3535
with:
3636
node-version: 14
3737
- run: npm install
@@ -43,7 +43,7 @@ jobs:
4343
MOCHA_REPORTER_OUTPUT: appengine_typescript_sponge_log.xml
4444
MOCHA_REPORTER: xunit
4545
- if: ${{ github.event.action == 'labeled' && github.event.label.name == 'actions:force-run' }}
46-
uses: actions/github-script@v5
46+
uses: actions/github-script@v6
4747
with:
4848
github-token: ${{ secrets.GITHUB_TOKEN }}
4949
script: |

appengine/typescript/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import express = require('express');
1616

17-
const PORT = Number(parseInt(process.env.PORT)) || 8080;
17+
const PORT = process.env.PORT || 8080;
1818
const app = express();
1919

2020
app.get('/', (req, res) => {

appengine/typescript/test/app.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
const {expect} = require('chai');
21
const waitPort = require('wait-port');
2+
const {expect} = require('chai');
33

44
const PORT = parseInt(process.env.PORT) || 8080;
55

0 commit comments

Comments
 (0)