Skip to content

Merge pull request #338 from emberjs/npm #247

Merge pull request #338 from emberjs/npm

Merge pull request #338 from emberjs/npm #247

Workflow file for this run

name: CI
on:
push:
branches: [ master, 'v*' ]
pull_request:
branches: [ master, 'v*' ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm i -g npm@7
if: ${{ matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' }}
- run: npm ci
- run: npm run lint:js
- run: npm test