forked from emberjs/ember.js
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (31 loc) · 864 Bytes
/
night-ts.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
name: Nightly TypeScript Run
permissions:
contents: read
jobs:
ts-next:
name: typescript@next
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm add --save-dev typescript@next --workspace-root
- run: pnpm type-check
notify:
name: Notify Discord
runs-on: ubuntu-latest
needs: [ ts-next ]
if: failure()
steps:
- uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.TYPESCRIPT_WEBHOOK }}
status: "Failure"
title: "Ember.js Nightly TypeScript Run"
color: 0xcc0000
url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
username: GitHub Actions
# ...nightly at midnight
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch: