name: Lint on: push: branches: [ "main" ] paths: - core/** pull_request: branches: [ "main" ] paths: - core/** jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 with: cache: yarn node-version: 16 - name: Install working-directory: ./core run: | npm ci - name: Lint working-directory: ./core run: | npm run lint