Repository navigation
docs: restore unscoped npm install path #32
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: 🔎 Code Quality | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| jobs: | |
| linter: | |
| name: 🧹 Linter | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| - name: Run oxlint | |
| run: pnpm --filter @yyork/web exec oxlint --deny-warnings --ignore-pattern public/storybook --ignore-pattern dist . | |
| typescriptChecker: | |
| name: 🟦 TypeScript Checker | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| with: | |
| node-version: 24 | |
| - name: Run Typescript checker | |
| run: pnpm run lint:ts | |
| unitTests: | |
| name: 🔬 Unit Tests | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| env: | |
| VITE_BASE_URL: http://localhost:3000 | |
| VITE_S3_BUCKET_PUBLIC_URL: 'http://localhost:9000/default' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| with: | |
| node-version: 24 | |
| - name: Run unit tests | |
| run: SKIP_ENV_VALIDATION=true pnpm --filter @yyork/web test:unit | |
| browserTests: | |
| name: 🌐 Browser Tests | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 20 | |
| runs-on: ubuntu-latest | |
| env: | |
| VITE_BASE_URL: http://localhost:3000 | |
| VITE_S3_BUCKET_PUBLIC_URL: 'http://localhost:9000/default' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| with: | |
| node-version: 24 | |
| - name: Setup Playwright | |
| uses: ./.github/actions/setup-playwright | |
| - name: Run browser tests | |
| run: SKIP_ENV_VALIDATION=true pnpm --filter @yyork/web test:browser |