Repository navigation
feat(community): add submission from #91 #220
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| name: Validate (Node ${{ matrix.node }} on ${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| node: [20, 22, 24] | |
| steps: | |
| - name: Configure Git line endings | |
| run: git config --global core.autocrlf false | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.15.4 | |
| run_install: false | |
| - name: Setup Node.js ${{ matrix.node }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Validate Shelf JSON Integrity | |
| run: pnpm run validate | |
| - name: Check URL Sanitization & Duplicates | |
| run: pnpm run validate:links | |
| - name: Run Test Suite | |
| run: pnpm test | |
| - name: Test Build Pipeline | |
| run: pnpm run build | |
| - name: Check Code Formatting | |
| run: pnpm run format:check | |
| - name: Verify Packaging Gate | |
| run: npm pack --dry-run |