File tree 10 files changed +25
-25
lines changed
10 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 50
50
create_credentials_file : ' true'
51
51
access_token_lifetime : 600s
52
52
- id : secrets
53
- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
53
+ uses : ' google-github-actions/get-secretmanager-secrets@0eee3cd066acdd9427a820bd68231cdea7c66a8d ' # v2
54
54
with :
55
55
secrets : |-
56
56
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
62
62
id : npm-cache-dir
63
63
shell : bash
64
64
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
66
66
id : npm-cache
67
67
with :
68
68
path : ${{ steps.npm-cache-dir.outputs.dir }}
82
82
CAIP_PROJECT_ID : ${{ steps.secrets.outputs.caip_id }}
83
83
- name : upload test results for FlakyBot workflow
84
84
if : github.event.action == 'schedule' && always()
85
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
85
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
86
86
env :
87
87
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
88
88
with :
Original file line number Diff line number Diff line change 26
26
runs-on : ubuntu-latest
27
27
steps :
28
28
- uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
29
- - uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
29
+ - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
30
30
with :
31
31
node-version : 18
32
32
- run : npm install
Original file line number Diff line number Diff line change 50
50
create_credentials_file : ' true'
51
51
access_token_lifetime : 600s
52
52
- id : secrets
53
- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
53
+ uses : ' google-github-actions/get-secretmanager-secrets@0eee3cd066acdd9427a820bd68231cdea7c66a8d ' # v2
54
54
with :
55
55
secrets : |-
56
56
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
62
62
id : npm-cache-dir
63
63
shell : bash
64
64
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
66
66
id : npm-cache
67
67
with :
68
68
path : ${{ steps.npm-cache-dir.outputs.dir }}
84
84
AGENT_PROJECT_ID : nodejs-docs-samples-tests
85
85
- name : upload test results for FlakyBot workflow
86
86
if : github.event.action == 'schedule' && always()
87
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
87
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
88
88
env :
89
89
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
90
90
with :
Original file line number Diff line number Diff line change 50
50
create_credentials_file : ' true'
51
51
access_token_lifetime : 600s
52
52
- id : secrets
53
- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
53
+ uses : ' google-github-actions/get-secretmanager-secrets@0eee3cd066acdd9427a820bd68231cdea7c66a8d ' # v2
54
54
with :
55
55
secrets : |-
56
56
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
62
62
id : npm-cache-dir
63
63
shell : bash
64
64
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
66
66
id : npm-cache
67
67
with :
68
68
path : ${{ steps.npm-cache-dir.outputs.dir }}
83
83
KG_API_KEY : ${{ steps.secrets.outputs.kg_api_key }}
84
84
- name : upload test results for FlakyBot workflow
85
85
if : github.event.action == 'schedule' && always()
86
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
86
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
87
87
env :
88
88
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
89
89
with :
Original file line number Diff line number Diff line change 53
53
create_credentials_file : ' true'
54
54
access_token_lifetime : 600s
55
55
- id : secrets
56
- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
56
+ uses : ' google-github-actions/get-secretmanager-secrets@0eee3cd066acdd9427a820bd68231cdea7c66a8d ' # v2
57
57
with :
58
58
secrets : |-
59
59
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
66
66
id : npm-cache-dir
67
67
shell : bash
68
68
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
69
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
69
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
70
70
id : npm-cache
71
71
with :
72
72
path : ${{ steps.npm-cache-dir.outputs.dir }}
92
92
DATASTORE_ID : ${{ steps.secrets.outputs.datastore_id }}
93
93
- name : upload test results for FlakyBot workflow
94
94
if : github.event.action == 'schedule' && always()
95
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
95
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
96
96
env :
97
97
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
98
98
with :
Original file line number Diff line number Diff line change 60
60
id : npm-cache-dir
61
61
shell : bash
62
62
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
63
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
63
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
64
64
id : npm-cache
65
65
with :
66
66
path : ${{ steps.npm-cache-dir.outputs.dir }}
81
81
- run : npm test
82
82
- name : upload test results for FlakyBot workflow
83
83
if : github.event.action == 'schedule' && always()
84
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
84
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
85
85
env :
86
86
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
87
87
with :
Original file line number Diff line number Diff line change 59
59
id : npm-cache-dir
60
60
shell : bash
61
61
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
62
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
63
63
id : npm-cache
64
64
with :
65
65
path : ${{ steps.npm-cache-dir.outputs.dir }}
84
84
GOOGLE_SAMPLES_PROJECT : " long-door-651"
85
85
- name : upload test results for FlakyBot workflow
86
86
if : github.event.action == 'schedule' && always()
87
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
87
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
88
88
env :
89
89
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
90
90
with :
Original file line number Diff line number Diff line change 53
53
create_credentials_file : ' true'
54
54
access_token_lifetime : 600s
55
55
- id : secrets
56
- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
56
+ uses : ' google-github-actions/get-secretmanager-secrets@0eee3cd066acdd9427a820bd68231cdea7c66a8d ' # v2
57
57
with :
58
58
secrets : |-
59
59
sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
65
65
id : npm-cache-dir
66
66
shell : bash
67
67
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
68
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
69
69
id : npm-cache
70
70
with :
71
71
path : ${{ steps.npm-cache-dir.outputs.dir }}
92
92
AZURE_SAS_TOKEN : ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }}
93
93
- name : upload test results for FlakyBot workflow
94
94
if : github.event.action == 'schedule' && always()
95
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
95
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
96
96
env :
97
97
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
98
98
with :
Original file line number Diff line number Diff line change 47
47
id : npm-cache-dir
48
48
shell : bash
49
49
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
50
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
50
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
51
51
id : npm-cache
52
52
with :
53
53
path : ${{ steps.npm-cache-dir.outputs.dir }}
67
67
GOOGLE_SAMPLES_PROJECT : " long-door-651"
68
68
- name : upload test results for FlakyBot workflow
69
69
if : github.event.action == 'schedule' && always()
70
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
70
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
71
71
with :
72
72
name : test-results
73
73
path : ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}
Original file line number Diff line number Diff line change 53
53
create_credentials_file : ' true'
54
54
access_token_lifetime : 600s
55
55
- id : secrets
56
- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
56
+ uses : ' google-github-actions/get-secretmanager-secrets@0eee3cd066acdd9427a820bd68231cdea7c66a8d ' # v2
57
57
with :
58
58
secrets : |-
59
59
vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision
64
64
id : npm-cache-dir
65
65
shell : bash
66
66
run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
67
- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
67
+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
68
68
id : npm-cache
69
69
with :
70
70
path : ${{ steps.npm-cache-dir.outputs.dir }}
87
87
REDIS_HOST : ${{ steps.secrets.outputs.vision.REDIS_HOST }}
88
88
- name : upload test results for FlakyBot workflow
89
89
if : github.event.action == 'schedule' && always()
90
- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
90
+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
91
91
env :
92
92
MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
93
93
with :
You can’t perform that action at this time.
0 commit comments