Repository navigation
build(deps): Bump @mysten/dapp-kit-core from 1.6.5 to 1.6.9 in /sdk #160
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Security Checks | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| schedule: | |
| - cron: '0 3 * * 1' | |
| workflow_dispatch: {} | |
| jobs: | |
| npm-audit: | |
| name: npm audit (backend, sdk, website) | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: 26 | |
| - name: Run npm audit in packages | |
| run: | | |
| set -e | |
| for d in backend sdk website; do | |
| if [ -f "$d/package.json" ]; then | |
| echo "=== Auditing $d ===" | |
| ( | |
| cd "$d" | |
| if [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ]; then | |
| npm ci | |
| else | |
| echo "No lockfile found; running npm install (non-deterministic in CI)." | |
| npm install --no-audit --no-fund | |
| fi | |
| npm audit --audit-level=high | |
| ) | |
| fi | |
| done |