build: move from pnpm to npm

Replace pnpm-lock.yaml with package-lock.json. The security overrides move to
package.json#overrides with their ranges intact, including the bounded
'>=x <y' pins whose upper bounds keep the next major out. allowBuilds becomes
package.json#allowScripts for the packages actually present in the tree.
This commit is contained in:
2026-08-17 13:28:05 +07:00
parent 6170521d79
commit da8a25edf2
6 changed files with 5434 additions and 3436 deletions
+6 -8
View File
@@ -19,13 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm test
cache: 'npm'
- run: npm ci
- run: npm test
build-deploy:
needs: test
@@ -35,13 +34,12 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm build-nolog
cache: 'npm'
- run: npm ci
- run: npm run build-nolog
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with: