fix: hide register UI when disabled and bump dark-mode contrast #373
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: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| # Pinned via .nvmrc — transfer WASM uses externref / reference-types | |
| # which older Node WebAssembly engines reject at parse time. | |
| node-version-file: '.nvmrc' | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: curl libpq-dev clang llvm pkg-config nettle-dev libc6-dev | |
| version: 1.0 | |
| - uses: extractions/setup-just@v2 | |
| - name: Print versions | |
| run: | | |
| rustc --version | |
| cargo clippy --version | |
| just --version | |
| - name: Clippy | |
| run: just clippy | |
| - name: Rust unit tests | |
| run: just test-rust-unit | |
| - name: Rust integration tests | |
| run: just test-rust-integration | |
| - name: Install wasm-pack | |
| run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh | |
| - name: Install yarn and dependencies | |
| run: npm install -g yarn && yarn install | |
| - name: Install Playwright browsers | |
| run: cd web && npx playwright install --with-deps chromium | |
| - name: Build WASM crates | |
| run: just wasm | |
| - name: Frontend unit tests | |
| run: just test-web | |
| - name: Build web | |
| run: just build-web | |
| - name: E2E tests | |
| run: just e2e | |
| - name: Upload Playwright report | |
| uses: actions/upload-artifact@v4 | |
| if: failure() | |
| with: | |
| name: playwright-report | |
| path: | | |
| web/playwright-report/ | |
| web/test-results/ | |
| retention-days: 14 | |
| s3-aws-integration: | |
| runs-on: ubuntu-latest | |
| # GitHub secrets aren't available to forked-PR workflows — skip cleanly | |
| # instead of failing so external contributors' PRs aren't blocked. | |
| if: github.event.pull_request.head.repo.full_name == github.repository | |
| env: | |
| S3_ENDPOINT: ${{ secrets.AWS_S3_TEST_ENDPOINT }} | |
| S3_REGION: ${{ secrets.AWS_S3_TEST_REGION }} | |
| S3_BUCKET: ${{ secrets.AWS_S3_TEST_BUCKET }} | |
| S3_ACCESS_KEY: ${{ secrets.AWS_S3_TEST_ACCESS_KEY }} | |
| S3_SECRET_KEY: ${{ secrets.AWS_S3_TEST_SECRET_KEY }} | |
| S3_PATH_STYLE: "false" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: Swatinem/rust-cache@v2 | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: curl libpq-dev clang llvm pkg-config nettle-dev libc6-dev | |
| version: 1.0 | |
| - name: Run S3 versioned integration tests against AWS | |
| run: cargo test -p fs --features s3-integration-tests providers::s3::s3_versioned_tests -- --nocapture |