fix(auth): persist last_login and emit auth audit events (#59) #1
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: Site E2E | |
| on: | |
| pull_request: | |
| paths: | |
| - "crates/schema-forge-cli/templates/site/**" | |
| - "crates/schema-forge-cli/src/commands/site/**" | |
| - "crates/schema-forge-cli/tests/site_e2e/**" | |
| - "crates/schema-forge-acton/src/routes/**" | |
| - ".github/workflows/site-e2e.yml" | |
| workflow_dispatch: | |
| jobs: | |
| smoke: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| env: | |
| CARGO_TERM_COLOR: always | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Rust cache | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Install Node | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "20" | |
| - name: Build schemaforge binary | |
| run: cargo build --bin schemaforge | |
| - name: Run site e2e smoke | |
| run: ./crates/schema-forge-cli/tests/site_e2e/run.sh | |
| - name: Upload Playwright artifacts on failure | |
| if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: | | |
| crates/schema-forge-cli/tests/site_e2e/playwright/playwright-report | |
| crates/schema-forge-cli/tests/site_e2e/playwright/test-results | |
| if-no-files-found: ignore | |
| retention-days: 7 |