mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
* fix * fix * fix * fix * Update docker.yml * Update auto-release.yml * Update pr-checker.yml * Update pr-checker.yml * fix: citation version --------- Co-authored-by: Théo LAGACHE <theo.lagache@soluce-technologies.com>
48 lines
944 B
YAML
48 lines
944 B
YAML
name: PR Checker
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
validate-code:
|
|
name: Code Integrity Check
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "lts/*"
|
|
cache: "pnpm"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Check code formatting
|
|
run: pnpm run format:check
|
|
continue-on-error: true
|
|
|
|
- name: Run Linter
|
|
run: pnpm run lint
|
|
continue-on-error: true
|
|
|
|
- name: Type Check
|
|
run: pnpm run typecheck
|
|
continue-on-error: true
|
|
|
|
- name: Run Tests
|
|
run: pnpm run test
|
|
continue-on-error: true
|
|
|
|
- name: Test Application Build
|
|
run: pnpm run build
|