fix(extension): resolve transformer wasm runtime fetch failures #55
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 uv | |
| uses: astral-sh/setup-uv@v5 | |
| with: | |
| version: "0.7.3" | |
| - name: Install dependencies | |
| run: | | |
| npm install --no-audit | |
| - name: Prepare SimpleDoc CLI | |
| run: | | |
| npm install --no-save @simpledoc/simpledoc --prefer-offline --no-audit | |
| mkdir -p "$HOME/SimpleDoc/dist/bin" | |
| ln -sf "$GITHUB_WORKSPACE/node_modules/@simpledoc/simpledoc/dist/bin/simpledoc.js" "$HOME/SimpleDoc/dist/bin/simpledoc.js" | |
| - name: Lint check | |
| run: npm run format:check | |
| - name: SimpleDoc check | |
| run: npm run simpledoc -- check |