-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into snyk-upgrade-5de05a6e4a10b4b9928ed5fa82ae1569
- Loading branch information
Showing
8 changed files
with
36 additions
and
39 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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
version: 2.1 | ||
orbs: | ||
snyk: snyk/[email protected] | ||
puppeteer: threetreeslight/[email protected] | ||
slack: circleci/[email protected] | ||
commands: | ||
|
@@ -43,10 +42,6 @@ jobs: | |
- install_deps | ||
- build_ts | ||
- run: npm test | ||
- snyk/scan: | ||
fail-on-issues: true | ||
monitor-on-build: true | ||
token-variable: SNYK_TOKEN_PROD | ||
- run: npx semantic-release | ||
- slack/status: | ||
fail_only: true | ||
|
@@ -63,10 +58,6 @@ jobs: | |
- install_deps | ||
- build_ts | ||
- run: npm test | ||
- snyk/scan: | ||
fail-on-issues: true | ||
monitor-on-build: false | ||
token-variable: SNYK_TOKEN_PROD | ||
- slack/status: | ||
fail_only: true | ||
only_for_branches: master | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,7 +94,7 @@ describe('enrichDependencies', () => { | |
|
||
describe('mergeLicenceAndDepData', () => { | ||
test('mergeLicenceAndDepData returns the same number of licenses & deps as provided', async () => { | ||
const licenseData = ({ | ||
const licenseData = { | ||
results: [ | ||
{ | ||
id: 'ISC', | ||
|
@@ -134,7 +134,7 @@ describe('mergeLicenceAndDepData', () => { | |
], | ||
}, | ||
], | ||
} as unknown) as snykApiSdk.OrgTypes.LicensesPostResponseType; | ||
} as unknown as snykApiSdk.OrgTypes.LicensesPostResponseType; | ||
|
||
const depApiData = { | ||
'[email protected]': [ | ||
|
@@ -180,7 +180,7 @@ describe('mergeLicenceAndDepData', () => { | |
).toEqual(depApiData['[email protected]'][0].copyright); | ||
}); | ||
test('mergeLicenceAndDepData for a multi license returns extra licenses after separating multi licenses', async () => { | ||
const licenseData = ({ | ||
const licenseData = { | ||
results: [ | ||
{ | ||
id: 'ISC OR MIT', | ||
|
@@ -220,7 +220,7 @@ describe('mergeLicenceAndDepData', () => { | |
], | ||
}, | ||
], | ||
} as unknown) as snykApiSdk.OrgTypes.LicensesPostResponseType; | ||
} as unknown as snykApiSdk.OrgTypes.LicensesPostResponseType; | ||
|
||
const depApiData = { | ||
'[email protected]': [ | ||
|
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