Skip to content

feat(auth): add Firebase phone and email link passwordless authentica… #32

feat(auth): add Firebase phone and email link passwordless authentica…

feat(auth): add Firebase phone and email link passwordless authentica… #32

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
quality-gate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Create env file for CI
run: |
cat <<'EOF' > .env
PORT=4000
JWT_SECRET=ci-secret
JWT_TTL_SECONDS=3600
CORS_ORIGIN=http://localhost:5173
PASSWORD_MIN_LENGTH=10
PWD_RESET_OTP_TTL_MS=600000
PWD_RESET_MAX_ATTEMPTS=5
EOF
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Type check
run: npm run typecheck
- name: Build
run: npm run build