feat(W3): ingest endpoint + applyCatalogRows only-if-newer engine + I… #225
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI Checks – Extension | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| env: | |
| WORKING_DIRECTORY: ${{ vars.WORKING_DIRECTORY }} | |
| jobs: | |
| lint_and_build: | |
| name: checks | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ${{ env.WORKING_DIRECTORY || github.workspace }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| cache-dependency-path: ${{ github.workspace }}/pnpm-lock.yaml | |
| - name: Install dependencies | |
| working-directory: ${{ github.workspace }} | |
| run: pnpm install --frozen-lockfile | |
| - name: Run ESLint | |
| run: pnpm run lint | |
| - name: Run Prettier check | |
| run: pnpm run prettier-check | |
| - name: Run knip | |
| run: pnpm run knip | |
| - name: Run unit tests | |
| run: pnpm run test | |
| - name: Check bundle size | |
| run: pnpm run size |