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
This commit is contained in:
Erison Silva
2026-05-29 15:48:05 +02:00
committed by GitHub
parent 68b452289a
commit 1329c6082d
6 changed files with 78 additions and 25 deletions
+4 -8
View File
@@ -18,10 +18,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
matrix:
node-version: ["24"]
steps:
- name: "☁️ Checkout repository"
uses: actions/checkout@v4
@@ -29,16 +25,16 @@ jobs:
- name: "📦 Install pnpm"
uses: pnpm/action-setup@v4
with:
version: 10.11.1
version: "11.3.0"
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: "24"
cache: "pnpm"
- name: "📦 Install dependencies"
run: pnpm install
run: pnpm install --frozen-lockfile
- name: "🔎 Lint code"
run: pnpm run lint