Skip to content

Commit

Permalink
try to build an app to scan the template
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasimir committed Dec 13, 2023
1 parent ca996b4 commit b67bd75
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Use Node.js v18.x
if: matrix.language == 'cpp'
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 18.x

- name: Use Node.js v18.x
if: matrix.language == 'cpp'
run: |
npm ci
npm run build
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand All @@ -64,17 +76,10 @@ jobs:
- '**/*.test.tsx'
- '**/*.spec.tsx'
- name: Use Node.js v18.x
if: matrix.language == 'cpp'
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
with:
node-version: 18.x

- name: Build cpp
if: matrix.language == 'cpp'
run: |
npx node-gyp rebuild
node bin/boxednode.js -s test/resources/example.js -t example
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Expand Down

0 comments on commit b67bd75

Please sign in to comment.