build: move from pnpm to npm

Replace pnpm-lock.yaml with package-lock.json. pnpm-workspace.yaml's
allowBuilds becomes package.json#allowScripts, which npm 11 gates the same way,
listing only the packages actually present in the tree.
This commit is contained in:
tiennm99 committed 2026-08-17 13:07:19 +07:00
1 parent 104ef05211
commit 0e989df299
5 files changed
+1591 -898

No files matched your search

+3 -4
View File
@@ -10,12 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm exec wrangler deploy --dry-run
cache: 'npm'
- run: npm ci
- run: npx wrangler deploy --dry-run
env:
CLOUDFLARE_API_TOKEN: dummy