Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,39 +19,33 @@ on:
- cron: '0 6 * * 0'

jobs:
test-mocha:
name: Mocha Tests - ${{ matrix.node-version }}
test-legacy-mocha:
name: Legacy Mocha Tests - ${{ matrix.node-version }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: [12.x, 10.x]
node-version: ['10', '12']

steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node-version }}
- name: Remove test-packages
run: |
rm -rf test-packages

- name: Yarn Install
working-directory: ./packages/ember-cli-fastboot
run: |
yarn install --ignore-engines --frozen-lockfile
- name: Install NPM version 4
run: |
npm config set spin false
npm install -g npm@4
- name: Run Mocha Tests
working-directory: ./packages/ember-cli-fastboot
run: |
volta install npm@4
npm --version
yarn test:mocha


test-ember:
name: Ember Tests
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -93,4 +87,4 @@ jobs:
- name: Yarn Install
run: yarn install --ignore-engines --frozen-lockfile
- name: Basic App
run: yarn workspace basic-app test:mocha
run: yarn workspace basic-app test:mocha