mirror of
https://github.com/tiennm99/loldle.git
synced 2026-10-11 03:13:42 +00:00
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:
1 parent
a422e318f2
commit
b2f33d0266
8 files changed
+3400
-2020
No files matched your search
@@ -23,19 +23,18 @@ 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 build
|
||||
- run: npm run build
|
||||
env:
|
||||
BASE_PATH: /${{ github.event.repository.name }}
|
||||
|
||||
|
||||
Reference in new issue
Block a user