Skip to content

(feat) testing setup #123

(feat) testing setup

(feat) testing setup #123

name: PR Checks and Deploy
on:
pull_request:
branches: [dev, staging, prod]
types: [opened, synchronize, reopened]
jobs:
quality-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Prettier Check
run: npm run format:check
- name: ESLint Check
run: npx eslint .
- name: TypeScript Check
run: npx tsc --noEmit
- name: Build Check
run: npm run build