Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
- name: Check dependency hardening
run: npx --no-install harden check --package-manager npm --level moderate

- name: Check format, lint, and types
run: npm run check

- name: Typecheck
run: npm run typecheck

- name: Install playwright webkit
run: npx playwright install-deps webkit

Expand Down
25 changes: 12 additions & 13 deletions .github/workflows/security-code-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,22 @@ on:
branches: [master]
schedule:
- cron: "17 4 * * 1"
workflow_dispatch:

permissions:
contents: read

jobs:
# GitHub CodeQL default setup is the CodeQL scan for this repository.
# A second CodeQL workflow would duplicate it.
semgrep:
runs-on: ubuntu-latest
security-scan:
uses: MetaMask/action-security-code-scanner/.github/workflows/security-scan.yml@becb242930b3cc271c26da0280050db9c157e291 # v2.1.1
permissions:
actions: read
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"
- name: Install Semgrep OSS
run: python -m pip install 'setuptools<81' semgrep==1.136.0
- name: Scan JavaScript and TypeScript
run: semgrep scan --error --config p/javascript --config p/typescript --exclude '**/node_modules/**' --exclude '**/dist/**' --exclude '**/build/**' --exclude '**/coverage/**' .
security-events: write
with:
scanner-ref: becb242930b3cc271c26da0280050db9c157e291 # v2.1.1
paths-ignored: |
**/node_modules/**
**/dist/**
**/build/**
**/coverage/**
Loading