Skip to content

Commit dff448a

Browse files
committed
use volta to install npm 4
1 parent 34e72ee commit dff448a

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,31 @@ jobs:
2222
test-legacy-mocha:
2323
name: Legacy Mocha Tests - ${{ matrix.node-version }}
2424
runs-on: ubuntu-latest
25-
26-
continue-on-error: ${{ matrix.experimental }}
25+
2726
strategy:
2827
fail-fast: false
2928
matrix:
30-
node: [10]
31-
experimental: [false]
32-
include:
33-
- node: 12
34-
experimental: true
29+
node-version: ['10', '12']
3530

3631
steps:
3732
- name: Checkout Code
3833
uses: actions/checkout@v2
3934
- name: Use Node.js ${{ matrix.node-version }}
40-
uses: actions/setup-node@v1
35+
uses: volta-cli/action@v1
4136
with:
4237
node-version: ${{ matrix.node-version }}
38+
4339
- name: Remove test-packages
4440
run: |
4541
rm -rf test-packages
4642
- name: Yarn Install
4743
working-directory: ./packages/ember-cli-fastboot
4844
run: |
4945
yarn install --ignore-engines --frozen-lockfile
50-
- name: Install NPM version 4
51-
run: |
52-
npm config set spin false
53-
npm install -g npm@4
5446
- name: Run Mocha Tests
5547
working-directory: ./packages/ember-cli-fastboot
5648
run: |
49+
volta install npm@4
5750
npm --version
5851
yarn test:mocha
5952

0 commit comments

Comments
 (0)