ci: codesandbox install with npm (#46341)

* ci: codesandbox install with npm

* chore: use npm ci

* Revert "chore: use npm ci"

This reverts commit d24e2acafc.
This commit is contained in:
MadCcc 2023-12-08 17:56:33 +08:00 committed by GitHub
parent fbe3a39389
commit 792a0a4a0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"installCommand": "npm-install",
"sandboxes": ["antd-reproduction-template-forked-jyh2k9"],
"node": "18"
}

View File

@ -98,7 +98,8 @@
"test:update": "jest --config .jest.js --no-cache -u",
"token-meta": "tsx scripts/generate-token-meta.ts",
"tsc": "tsc --noEmit",
"version": "tsx scripts/generate-version.ts"
"version": "tsx scripts/generate-version.ts",
"npm-install": "npm install"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "biome format --write",