File tree Expand file tree Collapse file tree 10 files changed +25
-25
lines changed
Expand file tree Collapse file tree 10 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 5050 create_credentials_file : ' true'
5151 access_token_lifetime : 600s
5252 - id : secrets
53- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
53+ uses : ' google-github-actions/get-secretmanager-secrets@ca38f1863fbce8a95d9d8b2857603f419cb57881 ' # v2
5454 with :
5555 secrets : |-
5656 caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
6262 id : npm-cache-dir
6363 shell : bash
6464 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6666 id : npm-cache
6767 with :
6868 path : ${{ steps.npm-cache-dir.outputs.dir }}
8282 CAIP_PROJECT_ID : ${{ steps.secrets.outputs.caip_id }}
8383 - name : upload test results for FlakyBot workflow
8484 if : github.event.action == 'schedule' && always()
85- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
85+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8686 env :
8787 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
8888 with :
Original file line number Diff line number Diff line change 2626 runs-on : ubuntu-latest
2727 steps :
2828 - uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
29- - uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4
29+ - uses : actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
3030 with :
3131 node-version : 18
3232 - run : npm install
Original file line number Diff line number Diff line change 5050 create_credentials_file : ' true'
5151 access_token_lifetime : 600s
5252 - id : secrets
53- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
53+ uses : ' google-github-actions/get-secretmanager-secrets@ca38f1863fbce8a95d9d8b2857603f419cb57881 ' # v2
5454 with :
5555 secrets : |-
5656 agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
6262 id : npm-cache-dir
6363 shell : bash
6464 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6666 id : npm-cache
6767 with :
6868 path : ${{ steps.npm-cache-dir.outputs.dir }}
8484 AGENT_PROJECT_ID : nodejs-docs-samples-tests
8585 - name : upload test results for FlakyBot workflow
8686 if : github.event.action == 'schedule' && always()
87- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
87+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8888 env :
8989 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
9090 with :
Original file line number Diff line number Diff line change 5050 create_credentials_file : ' true'
5151 access_token_lifetime : 600s
5252 - id : secrets
53- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
53+ uses : ' google-github-actions/get-secretmanager-secrets@ca38f1863fbce8a95d9d8b2857603f419cb57881 ' # v2
5454 with :
5555 secrets : |-
5656 slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
6262 id : npm-cache-dir
6363 shell : bash
6464 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
65+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6666 id : npm-cache
6767 with :
6868 path : ${{ steps.npm-cache-dir.outputs.dir }}
8383 KG_API_KEY : ${{ steps.secrets.outputs.kg_api_key }}
8484 - name : upload test results for FlakyBot workflow
8585 if : github.event.action == 'schedule' && always()
86- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
86+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8787 env :
8888 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
8989 with :
Original file line number Diff line number Diff line change 5353 create_credentials_file : ' true'
5454 access_token_lifetime : 600s
5555 - id : secrets
56- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
56+ uses : ' google-github-actions/get-secretmanager-secrets@ca38f1863fbce8a95d9d8b2857603f419cb57881 ' # v2
5757 with :
5858 secrets : |-
5959 caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
6666 id : npm-cache-dir
6767 shell : bash
6868 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
69- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
69+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
7070 id : npm-cache
7171 with :
7272 path : ${{ steps.npm-cache-dir.outputs.dir }}
9292 DATASTORE_ID : ${{ steps.secrets.outputs.datastore_id }}
9393 - name : upload test results for FlakyBot workflow
9494 if : github.event.action == 'schedule' && always()
95- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
95+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
9696 env :
9797 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
9898 with :
Original file line number Diff line number Diff line change 6060 id : npm-cache-dir
6161 shell : bash
6262 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
63- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
63+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6464 id : npm-cache
6565 with :
6666 path : ${{ steps.npm-cache-dir.outputs.dir }}
8181 - run : npm test
8282 - name : upload test results for FlakyBot workflow
8383 if : github.event.action == 'schedule' && always()
84- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
84+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8585 env :
8686 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
8787 with :
Original file line number Diff line number Diff line change 5959 id : npm-cache-dir
6060 shell : bash
6161 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
62+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6363 id : npm-cache
6464 with :
6565 path : ${{ steps.npm-cache-dir.outputs.dir }}
8484 GOOGLE_SAMPLES_PROJECT : " long-door-651"
8585 - name : upload test results for FlakyBot workflow
8686 if : github.event.action == 'schedule' && always()
87- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
87+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
8888 env :
8989 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
9090 with :
Original file line number Diff line number Diff line change 5353 create_credentials_file : ' true'
5454 access_token_lifetime : 600s
5555 - id : secrets
56- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
56+ uses : ' google-github-actions/get-secretmanager-secrets@ca38f1863fbce8a95d9d8b2857603f419cb57881 ' # v2
5757 with :
5858 secrets : |-
5959 sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
6565 id : npm-cache-dir
6666 shell : bash
6767 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
68+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6969 id : npm-cache
7070 with :
7171 path : ${{ steps.npm-cache-dir.outputs.dir }}
9292 AZURE_SAS_TOKEN : ${{ fromJSON(steps.secrets.outputs.sts_azure_secret).SAS }}
9393 - name : upload test results for FlakyBot workflow
9494 if : github.event.action == 'schedule' && always()
95- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
95+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
9696 env :
9797 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
9898 with :
Original file line number Diff line number Diff line change 4747 id : npm-cache-dir
4848 shell : bash
4949 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
50- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
50+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
5151 id : npm-cache
5252 with :
5353 path : ${{ steps.npm-cache-dir.outputs.dir }}
6767 GOOGLE_SAMPLES_PROJECT : " long-door-651"
6868 - name : upload test results for FlakyBot workflow
6969 if : github.event.action == 'schedule' && always()
70- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
70+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
7171 with :
7272 name : test-results
7373 path : ${{ inputs.path }}/${{ env.MOCHA_REPORTER_OUTPUT }}
Original file line number Diff line number Diff line change 5353 create_credentials_file : ' true'
5454 access_token_lifetime : 600s
5555 - id : secrets
56- uses : ' google-github-actions/get-secretmanager-secrets@95a0b09b8348ef3d02c68c6ba5662a037e78d713 ' # v2
56+ uses : ' google-github-actions/get-secretmanager-secrets@ca38f1863fbce8a95d9d8b2857603f419cb57881 ' # v2
5757 with :
5858 secrets : |-
5959 vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision
6464 id : npm-cache-dir
6565 shell : bash
6666 run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
67- - uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4
67+ - uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
6868 id : npm-cache
6969 with :
7070 path : ${{ steps.npm-cache-dir.outputs.dir }}
8787 REDIS_HOST : ${{ steps.secrets.outputs.vision.REDIS_HOST }}
8888 - name : upload test results for FlakyBot workflow
8989 if : github.event.action == 'schedule' && always()
90- uses : actions/upload-artifact@604373da6381bf24206979c74d06a550515601b9 # v4
90+ uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
9191 env :
9292 MOCHA_REPORTER_OUTPUT : " ${{github.run_id}}_sponge_log.xml"
9393 with :
You can’t perform that action at this time.
0 commit comments