Skip to content

sanity

sanity #1320

Workflow file for this run

name: sanity
on:
schedule:
- cron: 0 15 * * *
jobs:
e2e-run:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Run CI
working-directory: packages/calendar
run: yarn run test:playwright
- name: Slack Notify Sanity
if: success()
id: react-calendar-sanity-notification-success
uses: voxmedia/github-action-slack-notify-build@v1.5.0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: react-calendar-github
status: SUCCESS
color: good
- name: Slack Notify Sanity
if: failure()
id: react-calendar-sanity-notification-fail
uses: voxmedia/github-action-slack-notify-build@v1.5.0
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: react-calendar-github
status: FAILED
color: danger