Skip to content

Commit

Permalink
GitHub Actions による CI ができるようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
mugijiru committed Mar 11, 2021
1 parent 208f1bd commit 34e81e2
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,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 }}

0 comments on commit 34e81e2

Please sign in to comment.