Skip to content

trackrecords/github-actions-slack-jest-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Jest Notify GitHub Action

Setup

  • Create a slack app for your workspace (alternatively use an existing app you have already created and installed)
    • Add the chat.write scope under OAuth & Permissions
  • Install the app to your workspace

Usage

- name: Notify jest results to Slack
  if: failure()
  uses: trackrecords/github-actions-slack-jest-notify@main
  with:
    token: ${{ secrets.SLACK_BOT_TOKEN }}
    channel: "CHANNEL_ID" # Slack channel id to post message
    path: "result.json" # path to jest result json

Build

yarn build
git add dist/index.js dist/licenses.txt

refs: https://docs.github.com/ja/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published