name: Checks on: [push, pull_request] jobs: checks: name: Checks runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest] node-version: [16.x] fail-fast: true steps: - uses: actions/checkout@v2 - name: Use Node.js ${{matrix.node-version}} uses: actions/setup-node@v1 with: node-version: ${{matrix.node-version}} - name: Install npm packages run: npm ci - name: Run checks run: npm run checks