Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Node/release/1.7.2 #83

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update node.js.yml
vyshakhbabji authored Jun 13, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 09d13042fd20a50b59d839fe24a086a0e5abbeec
13 changes: 13 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -29,3 +29,16 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test

- name: Send a Slack notification saying if tests are passing/failing for a given Node version
shell: bash
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
run: |
conclusion=${{ steps.tests.conclusion }}
if [[ "$conclusion" == "success" ]]; then
message="✅ shipoo-node-client SDK Test succeeded for node ${{ matrix.node-version }}"
else
message="❌ shipoo-node-client SDK Test failed for node ${{ matrix.node-version }}"
fi
curl -X POST --data-urlencode "payload={\"text\": \"$message\", \"link_names\": 1}" $SLACK_WEBHOOK_URL