fix(extension): resolve transformer wasm runtime fetch failures #59
Workflow file for this run
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 | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| data-quality: | |
| name: Data Quality | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "0.7.3" | |
| - name: Data integrity check | |
| run: uv run --python 3.12 python scripts/check_integrity.py data/sample.jsonl | |
| - name: Duplicate ID dry-run check | |
| run: | | |
| output="$(uv run --python 3.12 python scripts/fix_duplicate_ids.py data/sample.jsonl)" | |
| echo "$output" | |
| duplicate_count="$(echo "$output" | awk -F': ' '/^Duplicate IDs:/ {print $2; exit}')" | |
| if [ -z "$duplicate_count" ]; then | |
| echo "Could not parse duplicate count from fix_duplicate_ids output" | |
| exit 1 | |
| fi | |
| if [ "$duplicate_count" -gt 0 ]; then | |
| echo "Duplicate IDs found: $duplicate_count" | |
| exit 1 | |
| fi | |
| lint-and-docs: | |
| name: Lint And Docs | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.23.0 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "0.7.3" | |
| - name: Install dependencies | |
| run: | | |
| pnpm install --frozen-lockfile | |
| - name: Lint check | |
| run: pnpm run format:check | |
| - name: SimpleDoc check | |
| run: pnpm dlx @simpledoc/simpledoc check |