setup releasing in CI
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsup library/main.ts --target node16 --format cjs,esm --dts --sourcemap",
|
||||
"build": "cp ../../README.md . && cp ../../LICENSE . && tsup library/main.ts --target node16 --format cjs,esm --dts --sourcemap",
|
||||
"build-watch": "pnpm build -- --watch",
|
||||
"test": "vitest --coverage --no-watch",
|
||||
"test-dev": "vitest",
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
pnpm run build
|
||||
cp ../../README.md .
|
||||
cp ../../LICENSE .
|
||||
pnpm release-it
|
||||
Reference in New Issue
Block a user