mirror of
https://github.com/tiennm99/pikachu.git
synced 2026-08-22 16:24:21 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user