ci: fix build script

This commit is contained in:
三咲智子 Kevin Deng
2025-08-10 09:16:07 +08:00
parent 270e5ad7c2
commit 653f0a843a
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,6 @@
[build.environment] [build.environment]
NODE_VERSION = "20" NODE_VERSION = "22"
# https://github.com/nodejs/corepack/issues/612#issuecomment-2631462297
COREPACK_INTEGRITY_KEYS = '{"npm":[{"expires":"2025-01-29T00:00:00.000Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="},{"expires":null,"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEY6Ya7W++7aUPzvMTrezH6Ycx3c+HOKYCcNGybJZSCJq/fd7Qa8uuAKtdIkUQtQiEKERhAmE5lMMJhP8OkDOa2g=="}]}'
[build] [build]
command = "pnpm run -r build" command = "pnpm run build && pnpm run build:playground"
publish = "packages/jsx-explorer/dist" publish = "packages/jsx-explorer/dist"

View File

@ -7,6 +7,7 @@
"scripts": { "scripts": {
"dev": "pnpm -C packages/jsx-explorer run dev", "dev": "pnpm -C packages/jsx-explorer run dev",
"build": "tsdown", "build": "tsdown",
"build:playground": "pnpm -C packages/jsx-explorer build",
"test": "vitest", "test": "vitest",
"lint": "eslint --cache .", "lint": "eslint --cache .",
"format": "prettier --write .", "format": "prettier --write .",