build: move web/ from pnpm to npm

Replace pnpm-lock.yaml with package-lock.json. The three security overrides
move from pnpm-workspace.yaml to package.json#overrides, where npm reads them
natively. Only the postcss floor is still live; @babel/core and js-yaml left
the tree with Next.js but are kept so the declared floors survive if a
dependency reintroduces them.
This commit is contained in:
tiennm99 committed 2026-08-17 12:24:21 +07:00
1 parent a422e318f2
commit b2f33d0266
8 files changed
+3400 -2020

No files matched your search

+6 -7
View File
@@ -21,25 +21,24 @@ jobs:
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
with:
package_json_file: web/package.json
- uses: actions/setup-node@v7
with:
node-version: '24'
cache: 'pnpm'
cache-dependency-path: web/pnpm-lock.yaml
cache: 'npm'
cache-dependency-path: web/package-lock.json
- run: pnpm install --frozen-lockfile --ignore-scripts
- run: npm ci --ignore-scripts
- run: pnpm test
- run: npm test
- run: pnpm lint
- run: npm run lint
# No BASE_PATH here: this checks that the app compiles. The base-path
# behaviour is verified against a real preview before release.
- run: pnpm build
- run: npm run build
scraper:
runs-on: ubuntu-latest