-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 800 Bytes
/
ci.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
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: install ember-cli
run: npm install -g ember-cli
- name: Setup Ember.js Addon
run: |
npm install
- name: Run ember test
run:
ember test
- name: Notify slack build result
uses: homoluctus/slatify@master
if: always()
with:
type: ${{ job.status }}
job_name: '*Ember test*'
mention: 'here'
username: 'GitHub Actions'
mention_if: 'failure'
channel: '#develop'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GITHUB_TOKEN }}