Files
Erison Silva 1329c6082d build: use pnpm official Docker image and update CI/Docker setup (#639)
- Replace docker-compose.yml (node:lts) with compose.yaml (ghcr.io/pnpm/pnpm:11.3.0)
  - Bump pnpm to 11.3.0 and add --frozen-lockfile in CI
  - Add pnpm-workspace.yaml to allow esbuild and sharp builds
  - Update .gitignore for pnpm store and compose override file
2026-05-29 20:48:05 +07:00

47 lines
878 B
YAML

name: CI
permissions:
contents: read
on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
workflow_call:
jobs:
build:
name: Code standards & build
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
- name: "📦 Install pnpm"
uses: pnpm/action-setup@v4
with:
version: "11.3.0"
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: "pnpm"
- name: "📦 Install dependencies"
run: pnpm install --frozen-lockfile
- name: "🔎 Lint code"
run: pnpm run lint
- name: "📝 Checking code format"
run: pnpm run format:check
- name: "🚀 Build the project"
run: pnpm run build