Skip to content

Added GitHub Action to run tests #10

Added GitHub Action to run tests

Added GitHub Action to run tests #10

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test-addon:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: |
set -x
npm install -g [email protected]
npm install
- name: Setup test environment
uses: ./.github/actions/setup-test-environment
- name: Run linters
id: linting
run: yarn run lint
- name: Test addon
if: ${{ success() || steps.linting.conclusion == 'failure' }}
run: |
set -x
ember try:one ember-default --skip-cleanup