Skip to content

completed Analysis Pipeline #7

completed Analysis Pipeline

completed Analysis Pipeline #7

Workflow file for this run

# .github/workflows/pr-validation.yml
name: PR Validation
on:
pull_request:
branches: [ main, staging ]
push:
branches: [ main, staging ]
jobs:
validate:
runs-on: ubuntu-latest
env:
NODE_ENV: test
GITHUB_TOKEN: ${{ secrets.TEST_GITHUB_TOKEN }}
GITHUB_TEST_OWNER: ${{ secrets.TEST_OWNER }}
GITHUB_TEST_REPO: ${{ secrets.TEST_REPO }}
DATABASE_URL: ${{ secrets.TEST_DATABASE_URL }}
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Type check
run: pnpm type-check
- name: Test
run: pnpm test
- name: Build
run: pnpm build