-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: run ls command to debug + remove slack for testing
- Loading branch information
Showing
1 changed file
with
7 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ jobs: | |
if: ${{ !github.event.pull_request.draft }} | ||
environment: alpha | ||
steps: | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
- name: Checkout extension | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
- name: Create .npmrc | ||
run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' >> .npmrc | ||
- name: Create env file | ||
|
@@ -105,38 +105,13 @@ jobs: | |
uses: actions/download-artifact@v4 | ||
with: | ||
name: extension | ||
- name: Show directory content | ||
run: | | ||
ls | ||
- name: Running browser extension smoke tests on testnet/mainnet against generated zip | ||
run: yarn ext:testnet/mainnet-smoke | ||
- if: always() | ||
name: Set Testrail Run ID ENV | ||
run: | | ||
echo $(head -n 1 testrail_run_id.txt) | ||
echo "TESTRAIL_RUN_ID=$(head -n 1 testrail_run_id.txt)" >> $GITHUB_ENV | ||
- name: Success slack notification | ||
if: success() | ||
uses: slackapi/[email protected] | ||
with: | ||
payload: | | ||
{ | ||
"GH_RUN_LINK": "https://github.com/ava-labs/core-extension/actions/runs/${{ github.run_id }}", | ||
"GH_RUN_STATUS": "PASSED", | ||
"STATUS_EMOJI": ":white_check_mark:", | ||
"TEST_RUN_TYPE": "Browser extension smoke tests are running against branch= ${{ github.head_ref }}", | ||
"TR_RUN_LINK": "https://avalabs.testrail.io/index.php?/runs/view/${{ env.TESTRAIL_RUN_ID }}" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
- name: Failure slack notification | ||
if: failure() | ||
uses: slackapi/[email protected] | ||
with: | ||
payload: | | ||
{ | ||
"GH_RUN_LINK": "https://github.com/ava-labs/core-extension/actions/runs/${{ github.run_id }}", | ||
"GH_RUN_STATUS": "FAILED", | ||
"STATUS_EMOJI": ":alert:", | ||
"TEST_RUN_TYPE": "Browser extension smoke tests are running against branch= ${{ github.head_ref }}", | ||
"TR_RUN_LINK": "https://avalabs.testrail.io/index.php?/runs/view/${{ env.TESTRAIL_RUN_ID }}" | ||
} | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |