-
-
Notifications
You must be signed in to change notification settings - Fork 23
39 lines (37 loc) · 1.11 KB
/
sanity.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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