File tree Expand file tree Collapse file tree 9 files changed +14
-11
lines changed
__tests__/directLineStreaming Expand file tree Collapse file tree 9 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 4343 publish :
4444 needs : build
4545 runs-on : ubuntu-latest
46- environment : prerelease
46+ environment :
47+ name : npm
48+ url : https://npmjs.com/package/${{ steps.get-version.outputs.package-name }}/v/${{ steps.get-version.outputs.version }}
49+ permissions :
50+ contents : read
51+ id-token : write
4752
4853 steps :
4954 - uses : actions/setup-node@v3
6570 echo Cannot publish production version
6671 exit 1
6772 - run : npm publish --access public --tag ${{ github.ref_name }} `ls *.tgz`
68- env :
69- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
7073 - name : Generate job summary
7174 run : echo "NPM package has been published to https://npmjs.com/package/${{ steps.get-version.outputs.package-name }}/v/${{ steps.get-version.outputs.version }}." > $GITHUB_STEP_SUMMARY
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import mockObserver from './__setup__/mockObserver';
77import setupBotProxy from './__setup__/setupBotProxy' ;
88
99const TOKEN_URL =
10- 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
10+ 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1111
1212afterEach ( ( ) => jest . useRealTimers ( ) ) ;
1313
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import mockObserver from './__setup__/mockObserver';
77import setupBotProxy from './__setup__/setupBotProxy' ;
88
99const TOKEN_URL =
10- 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
10+ 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1111
1212afterEach ( ( ) => jest . useRealTimers ( ) ) ;
1313
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import mockObserver from './__setup__/mockObserver';
77import setupBotProxy from './__setup__/setupBotProxy' ;
88
99const TOKEN_URL =
10- 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
10+ 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1111
1212afterEach ( ( ) => jest . useRealTimers ( ) ) ;
1313
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ type MockObserver<T> = ReturnType<typeof mockObserver>;
1212type ResultOfPromise < T > = T extends PromiseLike < infer P > ? P : never ;
1313
1414const TOKEN_URL =
15- 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
15+ 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1616
1717jest . setTimeout ( 10_000 ) ;
1818
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import mockObserver from './__setup__/mockObserver';
66import setupBotProxy from './__setup__/setupBotProxy' ;
77import waitFor from './__setup__/external/testing-library/waitFor' ;
88
9- const TOKEN_URL = 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
9+ const TOKEN_URL = 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1010
1111afterEach ( ( ) => jest . useRealTimers ( ) ) ;
1212
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import mockObserver from './__setup__/mockObserver';
77import setupBotProxy from './__setup__/setupBotProxy' ;
88import waitFor from './__setup__/external/testing-library/waitFor' ;
99
10- const TOKEN_URL = 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
10+ const TOKEN_URL = 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1111
1212afterEach ( ( ) => jest . useRealTimers ( ) ) ;
1313
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import mockObserver from './__setup__/mockObserver';
77import setupBotProxy from './__setup__/setupBotProxy' ;
88
99const TOKEN_URL =
10- 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
10+ 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1111
1212jest . setTimeout ( 15000 ) ;
1313
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import mockObserver from './__setup__/mockObserver';
88import setupBotProxy from './__setup__/setupBotProxy' ;
99
1010const TOKEN_URL =
11- 'https://hawo-mockbot4-token-app.blueriver-ce85e8f0 .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
11+ 'https://hawo-mockbot4-token-app.ambitiousflower-67725bfd .westus.azurecontainerapps.io/api/token/directlinease?bot=echo%20bot' ;
1212
1313afterEach ( ( ) => jest . useRealTimers ( ) ) ;
1414
You can’t perform that action at this time.
0 commit comments