mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-13 16:15:36 +00:00
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.
This commit is contained in:
1 parent
ffe9fb22e3
commit
f475a5cb46
11 files changed
+5374
-3507
No files matched your search
Vendored
+8
-11
@@ -10,17 +10,14 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 11.9.0
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24
|
||||
cache: pnpm
|
||||
- run: pnpm install --frozen-lockfile
|
||||
- run: pnpm lint
|
||||
- run: pnpm typecheck
|
||||
- run: pnpm test
|
||||
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
|
||||
@@ -32,6 +29,6 @@ jobs:
|
||||
libasound2t64 \
|
||||
libxshmfence1 \
|
||||
fonts-noto
|
||||
- run: pnpm browser:ensure
|
||||
- run: pnpm render:smoke
|
||||
- run: pnpm api:smoke
|
||||
- run: npm run browser:ensure
|
||||
- run: npm run render:smoke
|
||||
- run: npm run api:smoke
|
||||
Reference in new issue
Block a user