ci: use semantic-release
This commit is contained in:
parent
a0ccb75762
commit
968d6d639d
5 changed files with 9069 additions and 6389 deletions
3
.github/workflows/cd.yml
vendored
3
.github/workflows/cd.yml
vendored
|
@ -35,3 +35,6 @@ jobs:
|
||||||
version: latest
|
version: latest
|
||||||
- run: pnpm install --ignore-scripts
|
- run: pnpm install --ignore-scripts
|
||||||
- run: pnpm zip
|
- run: pnpm zip
|
||||||
|
- run: pnpx semantic-release
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
pnpm lint-staged && pnpm tsc:check
|
pnpm lint-staged && pnpm tsc
|
||||||
|
|
11
.releaserc
Normal file
11
.releaserc
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"branches": ["master"],
|
||||||
|
"plugins": [
|
||||||
|
"@semantic-release/commit-analyzer",
|
||||||
|
"@semantic-release/release-notes-generator",
|
||||||
|
"@semantic-release/changelog",
|
||||||
|
"@semantic-release/github",
|
||||||
|
"@semantic-release/git"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
"pack:firefox": "wxt zip -b firefox",
|
"pack:firefox": "wxt zip -b firefox",
|
||||||
"lint": "eslint --fix --flag unstable_ts_config",
|
"lint": "eslint --fix --flag unstable_ts_config",
|
||||||
"clear": "rimraf .output",
|
"clear": "rimraf .output",
|
||||||
"tsc:check": "tsc --noEmit",
|
"tsc": "tsc --noEmit",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"postinstall": "wxt prepare",
|
"postinstall": "wxt prepare",
|
||||||
"zip": "wxt zip"
|
"zip": "wxt zip"
|
||||||
|
@ -96,6 +96,8 @@
|
||||||
"@commitlint/config-conventional": "^19.5.0",
|
"@commitlint/config-conventional": "^19.5.0",
|
||||||
"@eslint-react/eslint-plugin": "^1.14.2",
|
"@eslint-react/eslint-plugin": "^1.14.2",
|
||||||
"@eslint/js": "^9.11.1",
|
"@eslint/js": "^9.11.1",
|
||||||
|
"@semantic-release/changelog": "^6.0.3",
|
||||||
|
"@semantic-release/git": "^10.0.1",
|
||||||
"@types/eslint": "^9.6.1",
|
"@types/eslint": "^9.6.1",
|
||||||
"@types/eslint-plugin-tailwindcss": "^3.17.0",
|
"@types/eslint-plugin-tailwindcss": "^3.17.0",
|
||||||
"@types/eslint__js": "^8.42.3",
|
"@types/eslint__js": "^8.42.3",
|
||||||
|
@ -120,6 +122,7 @@
|
||||||
"postcss-rem-to-responsive-pixel": "^6.0.2",
|
"postcss-rem-to-responsive-pixel": "^6.0.2",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"rimraf": "^5.0.10",
|
"rimraf": "^5.0.10",
|
||||||
|
"semantic-release": "^24.1.1",
|
||||||
"tailwindcss": "^3.4.13",
|
"tailwindcss": "^3.4.13",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"typescript": "^5.6.2",
|
"typescript": "^5.6.2",
|
||||||
|
|
15437
pnpm-lock.yaml
generated
15437
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue