mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
update snyk to point to package.json
Signed-off-by: Vishwas Shashidhar <vishwas.shashidhar@symphony.com>
This commit is contained in:
parent
ecef6e69db
commit
dba424dd53
@ -69,7 +69,7 @@ npm install
|
|||||||
|
|
||||||
# Run Snyk Security Tests
|
# Run Snyk Security Tests
|
||||||
echo "Running snyk security tests"
|
echo "Running snyk security tests"
|
||||||
snyk test --file=package-lock.json --org="$SNYK_ORG"
|
snyk test --file=package.json --org="$SNYK_ORG"
|
||||||
|
|
||||||
# replace url in config
|
# replace url in config
|
||||||
echo "Setting default pod url to https://corporate.symphony.com"
|
echo "Setting default pod url to https://corporate.symphony.com"
|
||||||
|
@ -83,7 +83,7 @@ npm install
|
|||||||
|
|
||||||
# Run Snyk Security Tests
|
# Run Snyk Security Tests
|
||||||
echo "Running snyk security tests"
|
echo "Running snyk security tests"
|
||||||
snyk test --file=package-lock.json --org="$SNYK_ORG"
|
snyk test --file=package.json --org="$SNYK_ORG"
|
||||||
|
|
||||||
# Replace url in config
|
# Replace url in config
|
||||||
echo "Setting default pod url to https://corporate.symphony.com"
|
echo "Setting default pod url to https://corporate.symphony.com"
|
||||||
|
@ -56,7 +56,7 @@ call npm install
|
|||||||
|
|
||||||
# Run Snyk Security Tests
|
# Run Snyk Security Tests
|
||||||
echo "Running snyk security tests"
|
echo "Running snyk security tests"
|
||||||
call snyk test --file=package-lock.json --org=%SNYK_ORG%
|
call snyk test --file=package.json --org=%SNYK_ORG%
|
||||||
|
|
||||||
:: Set expiry if required
|
:: Set expiry if required
|
||||||
IF "%EXPIRY_PERIOD%"=="" (
|
IF "%EXPIRY_PERIOD%"=="" (
|
||||||
|
@ -44,7 +44,7 @@ call npm install
|
|||||||
|
|
||||||
# Run Snyk Security Tests
|
# Run Snyk Security Tests
|
||||||
echo "Running snyk security tests"
|
echo "Running snyk security tests"
|
||||||
call snyk test --file=package-lock.json --org=%SNYK_ORG%
|
call snyk test --file=package.json --org=%SNYK_ORG%
|
||||||
|
|
||||||
:: Set expiry if required
|
:: Set expiry if required
|
||||||
IF "%EXPIRY_PERIOD%"=="" (
|
IF "%EXPIRY_PERIOD%"=="" (
|
||||||
|
Loading…
Reference in New Issue
Block a user