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.

Add a .gitignore: the repository had none, so nothing kept the installed
dependency tree out of version control.
This commit is contained in:
tiennm99 committed 2026-08-17 13:09:09 +07:00
1 parent ee94fd90cf
commit 25ba154fe8
7 files changed
+1604 -905

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