chore: clear Dependabot alert (adm-zip via onnxruntime-node) #30
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-and-test: | |
| name: Build + Test (Node ${{ matrix.node }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [20, 22] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Checkout maps repo | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: interscript/maps | |
| path: _maps | |
| - name: Symlink maps into ../maps | |
| run: ln -s "$PWD/_maps" "$GITHUB_WORKSPACE/../maps" | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm test | |
| - run: npm run lint | |
| - run: npm run format:check | |
| isc-parity: | |
| name: ISC parser parity (all 289 maps) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Checkout maps repo | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: interscript/maps | |
| path: _maps | |
| - name: Symlink maps into ../maps | |
| run: ln -s "$PWD/_maps" "$GITHUB_WORKSPACE/../maps" | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - name: Parse all .isc files | |
| run: npx tsx scripts/parse-all-isc.ts | |
| - name: End-to-end parity (target 100%) | |
| run: npx vitest run test/isc/end-to-end.test.ts | |
| coverage: | |
| name: Coverage | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Checkout maps repo | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: interscript/maps | |
| path: _maps | |
| - name: Symlink maps into ../maps | |
| run: ln -s "$PWD/_maps" "$GITHUB_WORKSPACE/../maps" | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npm test -- --coverage | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: coverage/ |