Merge branch 'main' into users/yongyan-gh/AddFlawfinderWorkflow
This commit is contained in:
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
* @actions/actions-experience
|
* @actions/starter-workflows
|
||||||
|
|
||||||
/code-scanning/ @actions/advanced-security-code-scanning
|
/code-scanning/ @actions/advanced-security-code-scanning
|
||||||
|
|||||||
+2
-1
@@ -1,4 +1,4 @@
|
|||||||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
||||||
|
|
||||||
name: Node.js CI
|
name: Node.js CI
|
||||||
@@ -25,6 +25,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'npm'
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm test
|
- run: npm test
|
||||||
|
|||||||
Reference in New Issue
Block a user