Skip to content

chore: initial commit — post-worker with RabbitMQ consumer and CI/CD #1

chore: initial commit — post-worker with RabbitMQ consumer and CI/CD

chore: initial commit — post-worker with RabbitMQ consumer and CI/CD #1

Workflow file for this run

name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
lint-and-build:
name: Lint, Format & Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Format check
run: npx prettier --check "src/**/*.ts" "test/**/*.ts"
- name: Build
run: npm run build