name: Test on: push: branches: [ develop ] pull_request: branches: [ develop ] jobs: lint-and-build: name: Lint and build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x uses: actions/setup-node@v1 with: node-version: 16.x - run: npm ci - run: npm run lint - run: npm run build