Skip to content

ci: run type checks and use the MetaMask security scanner - #20

Merged
chaitanyapotti merged 1 commit into
masterfrom
ci/security-scanner-and-typecheck
Nov 5, 2026
Merged

chaitanyapotti merged 1 commit into
masterfrom
ci/security-scanner-and-typecheck

Conversation

@smgv

@smgv smgv commented Nov 5, 2026

Copy link
Copy Markdown

Jira Link

Follow-up to https://consensyssoftware.atlassian.net/browse/EMBED-589

Description

Bring the security workflow in line with torusresearch/torus-cli#123, and make CI fail on type and lint errors.

The test job now runs npm run check and npm run typecheck after install. npm run check covers format, lint, and the Vite+ type check. npm run typecheck runs tsc --noEmit.

The Semgrep job is replaced by the shared MetaMask security code scanner workflow, pinned to v2.1.1 (becb242930b3cc271c26da0280050db9c157e291). It runs CodeQL, Semgrep, and zizmor, and ignores node_modules, dist, build, and coverage.

CodeQL default setup has to be off for this repository. GitHub rejects CodeQL results from this workflow while default setup is on.

How has this been tested?

  • npm run check on Node 26.13.0 (0 errors, 9 existing warnings)
  • npm run typecheck on Node 26.13.0

Screenshots (if appropriate)

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@smgv
smgv requested a review from a team as a code owner November 5, 2026 08:25
@smgv smgv self-assigned this Nov 5, 2026
@chaitanyapotti
chaitanyapotti merged commit e6eeb09 into master Nov 5, 2026
13 checks passed
@chaitanyapotti
chaitanyapotti deleted the ci/security-scanner-and-typecheck branch November 5, 2026 08:28
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.

2 participants