File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 76
76
NPM_TOKEN_APP_CHECK_COMPAT : ${{ secrets.NPM_TOKEN_APP_CHECK_COMPAT }}
77
77
NPM_TOKEN_API_DOCUMENTER : ${{ secrets.NPM_TOKEN_API_DOCUMENTER }}
78
78
CI : true
79
+ - name : Launch E2E tests workflow
80
+ # Trigger e2e-test.yml
81
+ run : |
82
+ VERSION_SCRIPT="const pkg = require('./packages/firebase/package.json'); console.log(pkg.version);"
83
+ VERSION_OR_TAG=`node -e "${VERSION_SCRIPT}"`
84
+ OSS_BOT_GITHUB_TOKEN=${{ secrets.OSS_BOT_GITHUB_TOKEN }}
85
+ curl -X POST \
86
+ -H "Content-Type:application/json" \
87
+ -H "Accept:application/vnd.github.v3+json" \
88
+ -H "Authorization:Bearer $OSS_BOT_GITHUB_TOKEN" \
89
+ -d "{\"event_type\":\"canary-tests\", \"client_payload\":{\"versionOrTag\":\"$VERSION_OR_TAG\"}}" \
90
+ https://api.github.com/repos/firebase/firebase-js-sdk/dispatches
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: E2E Smoke Tests
3
3
# Allows REST trigger. Currently triggered by release-cli script during a staging run.
4
4
on :
5
5
repository_dispatch :
6
- types : [staging-tests]
6
+ types : [staging-tests,canary-tests ]
7
7
8
8
jobs :
9
9
test :
62
62
- name : Tests succeeded
63
63
if : success()
64
64
run : node scripts/ci/notify-test-result.js success
65
+ # we don't want THIS step erroring to trigger the failure notification
66
+ continue-on-error : true
65
67
env :
66
68
WEBHOOK_URL : ${{ secrets.JSCORE_CHAT_WEBHOOK_URL }}
67
69
RELEASE_TRACKER_URL : ${{ secrets.RELEASE_TRACKER_URL }}
You can’t perform that action at this time.
0 commit comments