Skip to content

docs: restore unscoped npm install path #32

docs: restore unscoped npm install path

docs: restore unscoped npm install path #32

Workflow file for this run

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