test: add post-deploy smoke checks
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
## 每次發布前
|
||||
|
||||
1. 確認 `CHANGELOG.md` 的 Unreleased 內容與目標版本一致。
|
||||
2. 在本機執行 `npm test`、`npx tsc --noEmit`、`npm run build` 與 `./scripts/backup.sh`。
|
||||
2. 在本機執行 `npm test`、`npx tsc --noEmit`、`npm run build` 與 `./scripts/backup.sh`;部署後執行 `./scripts/smoke-test.sh https://你的網域`。
|
||||
3. 提交並推送 `main`,確認 Gitea Actions 的 verify workflow 成功;它會執行 production dependency audit、測試、Docker build,並產生 SPDX SBOM artifact。
|
||||
4. 建立 annotated tag,例如:`git tag -a v0.8.0 -m "Mebbling v0.8.0"`,再執行 `git push origin v0.8.0`。
|
||||
5. 在 Gitea 的 Releases 以同一個 tag 建立 release;若版本尚供測試,勾選 Pre-release。
|
||||
|
||||
Reference in New Issue
Block a user