Skip to content

Commit

Permalink
Fix codeql custom build
Browse files Browse the repository at this point in the history
  • Loading branch information
paulober committed Aug 14, 2023
1 parent 4561e56 commit 1618c29
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,17 @@ jobs:
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Custom-Build

- name: Install Dependencies for custom build
shell: bash
run: |
npm ci
npm run compile
sed -i '1i//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}' .npmrc
npm ci --no-audit
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Custom build
run: npm run compile

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down

0 comments on commit 1618c29

Please sign in to comment.