Skip to content

added unit tests for websocket connection #38

added unit tests for websocket connection

added unit tests for websocket connection #38

Workflow file for this run

name: Slack Notification of CI Status
on:
push:
branches: ["main", "feature/**"]
pull_request:
branches: ["main"]
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} # This works BUT it shows up as problem for some unknown reason ("Context access might be invalid: NPM_TOKEN") and there should not be any errors
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
jobs:
slackNotification:
runs-on: ubuntu-latest
name: Slack CI status - notify on failure
steps:
- name: Slack Notify on Failure
if: ${{ failure() }}
id: slack
uses: slackapi/[email protected]
with:
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
slack-message: "Github CI Result: ${{ job.status }}\nGithub PR/Commit URL: ${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
# https://github.com/slackapi/slack-github-action