Skip to content

TechCoder Authentication and Database Setup #6

TechCoder Authentication and Database Setup

TechCoder Authentication and Database Setup #6

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
# Cancel superseded runs on the same branch / PR.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
verify:
name: Lint, typecheck, build
runs-on: ubuntu-latest
timeout-minutes: 15
defaults:
run:
working-directory: morya-techcoder
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: morya-techcoder/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Typecheck
run: npm run typecheck
- name: Unit tests
run: npm test
# Also validates every MDX post compiles and every static route
# (articles, share images, sitemap) prerenders.
- name: Build
run: npm run build
env:
NEXT_TELEMETRY_DISABLED: 1