ci: publish source-pinned builds as release assets #79
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: | |
| push: | |
| branches: [master] | |
| permissions: | |
| contents: read | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: astral-sh/setup-uv@v10.0.0 | |
| with: | |
| enable-cache: true | |
| - run: uv sync --dev --locked | |
| - uses: actions/setup-node@v7.0.0 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| cache-dependency-path: frontend/package-lock.json | |
| - run: npm ci | |
| working-directory: frontend | |
| - run: npm run build | |
| working-directory: frontend | |
| - run: git diff --exit-code -- src/portwyrm/uix/static | |
| - run: uv run ruff check . | |
| - run: uv run ruff format --check . | |
| - run: uv run pytest | |
| - run: npx playwright install --with-deps chromium | |
| working-directory: frontend | |
| - run: npm run test:a11y | |
| working-directory: frontend | |
| - run: uv run ssot-registry validate . --write-report |