Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
add new command specifically to support rebuilding module (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey authored Nov 19, 2020
1 parent 079e6e9 commit 08a0cff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:

# Setup dependencies (and build native modules from source)
- name: Install dependencies
run: npm install
run: |
npm install
npm run build
# Run code analysis
- name: Perform CodeQL Analysis
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
],
"types": "./keytar.d.ts",
"scripts": {
"install": "prebuild-install || node-gyp rebuild",
"install": "prebuild-install || npm run build",
"build": "node-gyp rebuild",
"lint": "npm run cpplint",
"cpplint": "node-cpplint --filters legal-copyright,build-include,build-namespaces src/*.cc",
"test": "npm run lint && npm rebuild && mocha --require babel-core/register spec/",
Expand Down

0 comments on commit 08a0cff

Please sign in to comment.