diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 455f2b38..8bf595f1 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -19,27 +19,28 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node-version: [10, 12, 14, 16] + node-version: [8.11.1, 10, 12, 14, 16, 17] include: - os: macos-latest - node-version: 14 # LTS + node-version: 16 # LTS - os: windows-latest - node-version: 14 # LTS + node-version: 16 # LTS fail-fast: false runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - with: - fetch-depth: 0 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + - name: Update NPM (Node.js v8.11.1) + if: matrix.node-version != 8.11.1 + run: npm install --global npm@6 - name: Update NPM (Node.js v10) if: matrix.node-version == 10 run: npm install --global npm@7 - name: Update NPM - if: matrix.node-version != 10 + if: matrix.node-version != 10 | matrix.node-version != 8.11.1 run: npm install --global npm@8 - name: Bootstrap project if: ${{ matrix.node-version != '8.11.1' }} @@ -51,10 +52,6 @@ jobs: run: npm run --ignore-scripts build - name: Run tests run: npm test --ignore-scripts - - name: troubleshooting - run: | - ls - ls ./coverage - name: Coveralls Parallel uses: coverallsapp/github-action@master with: @@ -82,10 +79,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Use Node.js 14 + - name: Use Node.js 16 uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: Bootstrap project run: npm ci --ignore-scripts - name: Verify commit linting diff --git a/.travis.yml b/.travis.yml index bf7560d6..8fa4d1a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,13 +7,18 @@ branches: - master language: node_js node_js: + - 8.11.1 - 10 - 12 - 14 - 16 + - 17 before_install: | NODEJS_VERSION=$(node --version) - if [ 'v10' == ${NODEJS_VERSION%%.*} ] + if [ 'v8' == ${NODEJS_VERSION%%.*} ] + then + npm install --global npm@6 + else if [ 'v10' == ${NODEJS_VERSION%%.*} ] then npm install --global npm@7 else