fix: bump @types/node from 24.0.4 to 24.3.1 in /lib #49
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
| # .github/workflows/security-scan.yml | |
| name: Security & Dependency Scanning | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| security-events: write | |
| concurrency: | |
| group: security-scan-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| codeql: | |
| name: 🔍 CodeQL Analysis | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v3 | |
| with: | |
| languages: javascript | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v3 | |
| - name: Analyze | |
| uses: github/codeql-action/analyze@v3 | |
| grype: | |
| name: 🧭 Grype Vulnerability Scan | |
| runs-on: ubuntu-latest | |
| needs: codeql | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Enable Corepack and Setup Yarn | |
| run: | | |
| corepack enable | |
| corepack prepare yarn@3.6.1 --activate | |
| yarn --version | |
| - name: Install dependencies with Yarn | |
| run: | | |
| cd lib | |
| yarn install --immutable | |
| - name: Run Grype scan on dependencies | |
| id: grype | |
| uses: anchore/scan-action@v6 | |
| with: | |
| path: "./lib" | |
| output-format: sarif | |
| output-file: grype-report.sarif | |
| fail-build: true | |
| severity-cutoff: critical | |
| - name: Upload SARIF report | |
| uses: github/codeql-action/upload-sarif@v3 | |
| with: | |
| sarif_file: ./grype-report.sarif | |
| gitleaks: | |
| name: 🔐 Gitleaks Secret Scan | |
| runs-on: ubuntu-latest | |
| needs: grype | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run Gitleaks | |
| uses: zricethezav/gitleaks-action@v2 | |
| with: | |
| config: .github/.gitleaks.toml | |
| enable-annotations: true | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |