name: ci on: [push, pull_request] jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-latest] node: ['10', '12', '14'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node }} - run: npm install - run: npm test