diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8997549d..d9dab52d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} @@ -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 \ No newline at end of file