Skip to content

ci: add CI workflow#2

Merged
heliannuuthus merged 9 commits intomainfrom
ci/cicd
Mar 10, 2026
Merged

ci: add CI workflow#2
heliannuuthus merged 9 commits intomainfrom
ci/cicd

Conversation

@heliannuuthus
Copy link
Copy Markdown
Owner

Summary

  • 添加 CI workflow,引用 hephaestus 的 ci-frontend reusable workflow(lint + format:check → build)

Test plan

  • CI workflow 正常触发并通过

- Switch @aegis/sdk to @heliannuuthus/aegis-sdk from GitHub Packages
- Add .npmrc for scoped registry
- Migrate to ESLint 9 flat config with typescript-eslint
- Add registry-url to CI workflow
- CaptchaModal: remove redundant useEffect, rely on destroyOnClose
- Consent/Login: remove stale eslint-disable directives
- ChallengeVerify: avoid Date.now() in render path (purity rule)
- IDPButton: suppress immutability rule for window.location.href
- EmailOTPVerify: fix missing handleResend dependency
- PasswordVerify: prefix unused captchaVerified with underscore
- staff/index: move early return after all hooks (rules-of-hooks)
- Profile: wrap loadProfile in useCallback for exhaustive-deps
- AuthProvider: replace useRef with useState for WebAuth instance
- eslint.config: disable only-export-components for providers
- types: add expires_at field to ChallengeResponse
- EmailOTPVerify/Login: fix ChallengeRequired usage (use Object.keys
  instead of non-existent .conditions property)
- PasswordVerify: add non-null assertion for captchaConfig.identifier
- error.ts: add explicit type cast for getPreconditionRequired return
@heliannuuthus heliannuuthus merged commit e5d894d into main Mar 10, 2026
3 checks passed
@heliannuuthus heliannuuthus deleted the ci/cicd branch March 10, 2026 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant