Files
tiennm99bot/renderer/.github/workflows/ci.yml
T
tiennm99 f475a5cb46 build: move from pnpm to npm
Replace pnpm-lock.yaml with package-lock.json. allowBuilds for esbuild becomes
package.json#allowScripts. The Dockerfile installs with npm ci --omit=dev and
no longer prepares pnpm through corepack; .npmrc keeps engine-strict, which npm
honours natively.

minimumReleaseAgeExclude is dropped rather than translated: pnpm's
minimumReleaseAge was never set, so the 30-entry exclusion list had nothing to
exclude from. Direct dependency versions resolve identically to the pnpm
lockfile.
2026-08-17 12:30:41 +07:00

35 lines
777 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run typecheck
- run: npm test
- name: Install Remotion browser runtime libraries
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libnspr4 \
libnss3 \
libgtk-3-0 \
libgbm1 \
libasound2t64 \
libxshmfence1 \
fonts-noto
- run: npm run browser:ensure
- run: npm run render:smoke
- run: npm run api:smoke