Migration: Auth0 to Better Auth #304
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
| # Validates Pull Requests by running linting, testing, and type checking | |
| name: Pre-merge | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| branches: [main] | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.draft }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Node.js version | |
| uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version: 24.14.0 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm install --legacy-peer-deps | |
| env: | |
| CXXFLAGS: '-std=c++20' | |
| - name: Lint and format check | |
| run: | | |
| npm run lint | |
| npm run format:check | |
| - name: Type check | |
| run: npm run typecheck | |
| - name: Run tests | |
| run: npm run test | |
| - name: Build test | |
| run: npm run build |