-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Edge Library Updates - updated cookiejar to 2.1.4 - updated json5 to 2.2.3 Signed-off-by: David Deal <ddeal@linuxfoundation.org> * CI/CD - Added Edge Folder Scanning Signed-off-by: David Deal <ddeal@linuxfoundation.org> Signed-off-by: David Deal <ddeal@linuxfoundation.org>
- Loading branch information
Showing
4 changed files
with
84 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
# Copyright The Linux Foundation and each contributor to CommunityBridge. | ||
# SPDX-License-Identifier: MI | ||
|
||
name: Snyk Scan Edge NPM Dependencies | ||
|
||
on: | ||
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
snyk-scan-edge-npm-pr: | ||
runs-on: ubuntu-latest | ||
environment: dev | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: snyk/actions/setup@master | ||
id: snyk | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
- name: Yarn Version | ||
run: yarn --version | ||
- name: Yarn Install | ||
working-directory: src | ||
run: yarn install | ||
- name: Snyk version | ||
run: echo "${{ steps.snyk.outputs.version }}" | ||
- name: Scan for NPM Vulnerabilities | ||
working-directory: src | ||
run: | | ||
snyk test --org=${{ secrets.SNYK_ORG }} --file=package.json | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
continue-on-error: true | ||
- name: Monitor for NPM Vulnerabilities | ||
working-directory: src | ||
run: snyk monitor --org=${{ secrets.SNYK_ORG }} --file=package.json | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
continue-on-error: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
# Copyright The Linux Foundation and each contributor to CommunityBridge. | ||
# SPDX-License-Identifier: MI | ||
|
||
name: Yarn Edge Dependency Audit | ||
|
||
on: | ||
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
yarn-scan-edge-pr: | ||
runs-on: ubuntu-latest | ||
environment: dev | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
- name: Setup | ||
run: yarn install | ||
- name: Yarn Audit | ||
working-directory: src | ||
run: | | ||
yarn audit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters