mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
ci(release): make React Doctor check advisory
The release preflight ran yarn doctor --diff against the previous tag as a hard gate, but many error-level diagnostics flag intentional patterns rather than bugs (e.g. resetting preview state when the reply modal closes, mirroring long-accepted code). Mark the step continue-on-error so it still runs and posts annotations without blocking a release.
This commit is contained in:
@@ -43,7 +43,11 @@ jobs:
|
||||
run: yarn type-check
|
||||
- name: Build React app
|
||||
run: CI='' NODE_ENV=production yarn build
|
||||
- name: Run React Doctor
|
||||
# Advisory only: React Doctor still runs and posts annotations for the diff
|
||||
# since the previous tag, but a new finding must not block a release. Many
|
||||
# error-level diagnostics flag intentional patterns, not bugs.
|
||||
- name: Run React Doctor (advisory)
|
||||
continue-on-error: true
|
||||
run: |
|
||||
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD^)
|
||||
yarn doctor --diff "$PREVIOUS_TAG" --annotations
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
* **archive:** preserve button link text color on desktop ([b0193b3](https://github.com/bitsocialnet/5chan/commit/b0193b34beec9993d4ca3cedc259ac2e9bd88460))
|
||||
* **challenge-modal:** center mobile modal in viewport ([2e58961](https://github.com/bitsocialnet/5chan/commit/2e58961cf1d32fa303c042809309172add45eb51))
|
||||
* **challenge-modal:** publish challenge answers with pkc object schema ([591aaa7](https://github.com/bitsocialnet/5chan/commit/591aaa729))
|
||||
* **deps:** bump react-router-dom to 6.30.4 ([ee5aa78](https://github.com/bitsocialnet/5chan/commit/ee5aa7845edcd66b4bde7d6b09a6018bf40b9974)), closes [#276](https://github.com/bitsocialnet/5chan/issues/276)
|
||||
* **deps:** resolve shell-quote critical dependabot alert ([fa7cab0](https://github.com/bitsocialnet/5chan/commit/fa7cab069999c745595d2d50bd4f9c920047963d))
|
||||
* **failed-publish:** keep bracket actions on one line ([9de2e6a](https://github.com/bitsocialnet/5chan/commit/9de2e6a8510d4ec6647ff13ce99bd9e8c22b197a))
|
||||
|
||||
Reference in New Issue
Block a user