Prevent npm execution in Bun and Deno tests #1462
This file contains 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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "CodeQL analysis" | |
on: | |
push: | |
tags: ["*"] | |
branches: ["*"] | |
pull_request: | |
branches: ["*"] | |
schedule: | |
- cron: "25 10 * * 3" | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
analyze: | |
name: "CodeQL analysis (${{ matrix.language }})" | |
runs-on: "ubuntu-latest" | |
permissions: | |
actions: "read" | |
contents: "read" | |
security-events: "write" | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["javascript"] | |
steps: | |
- name: "Checkout" | |
uses: "actions/checkout@d632683dd7b4114ad314bca15554477dd762a938" | |
- name: "Initialize CodeQL" | |
uses: "github/codeql-action/init@e2b3eafc8d227b0241d48be5f425d47c2d750a13" | |
with: | |
languages: "${{ matrix.language }}" | |
- name: "Autobuild" | |
uses: "github/codeql-action/autobuild@e2b3eafc8d227b0241d48be5f425d47c2d750a13" | |
- name: "Perform CodeQL Analysis" | |
uses: "github/codeql-action/analyze@e2b3eafc8d227b0241d48be5f425d47c2d750a13" |