fixing #10
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: CodeQL | |
| on: | |
| push: | |
| branches: [main, fix/package] | |
| pull_request: | |
| branches: [main, fix/package] | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1️⃣ Checkout repository | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # 2️⃣ Setup Node.js | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '20' | |
| # 3️⃣ Install dependencies (no audit fix here) | |
| - name: Install dependencies | |
| run: npm install | |
| # 4️⃣ Initialize CodeQL (default setup) | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v3 | |
| with: | |
| languages: javascript | |
| # 5️⃣ Run CodeQL autobuild (uses the installed dependencies) | |
| - name: CodeQL Autobuild | |
| uses: github/codeql-action/autobuild@v3 | |
| # 6️⃣ Perform CodeQL Analysis | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v3 |