Skip to content

Commit

Permalink
Slim down our CodeQL config
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Gordon committed Feb 10, 2022
1 parent aade2a8 commit 3cf6580
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,15 @@ jobs:
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Read .nvmrc
id: nvm
run: echo ::set-output name=NVMRC::$(cat .nvmrc)

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: ${{ steps.nvm.outputs.NVMRC }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

- name: Build executable
run: npm run package
languages: javascript

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

0 comments on commit 3cf6580

Please sign in to comment.