Skip to content

chore: remove outdated documentation and images; update TypeScript co… #15

chore: remove outdated documentation and images; update TypeScript co…

chore: remove outdated documentation and images; update TypeScript co… #15

Workflow file for this run

name: Bintraq Production CI/CD
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
quality-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Lint & Typecheck
run: |
npm run lint
npm run typecheck # Ensure you have "typecheck": "tsc --noEmit" in package.json
- name: Run Unit Tests
run: npm test
deploy:
needs: quality-check
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Vercel
uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-project-id: ${{ secrets.PROJECT_ID }}
vercel-args: '--prod'