forked from snyk/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jahed Ahmed
committed
Aug 31, 2021
1 parent
b7c7c81
commit ca4123f
Showing
2 changed files
with
1 addition
and
14 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 |
---|---|---|
|
@@ -34,12 +34,6 @@ commands: | |
- run: | ||
name: Install dependencies | ||
command: npm ci | ||
update_local_npmrc_linux: | ||
description: Update local .npmrc file (Linux) | ||
steps: | ||
- run: | ||
name: Update local .npmrc file (Linux) | ||
command: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc | ||
build_ts: | ||
description: Build js files from ts | ||
steps: | ||
|
@@ -183,9 +177,6 @@ jobs: | |
- install_deps | ||
- attach_workspace: | ||
at: ~/snyk | ||
- run: | ||
name: Update local .npmrc file (Windows) | ||
command: echo "//registry.npmjs.org/:_authToken=$env:NPM_TOKEN" >> .npmrc | ||
- run: | ||
name: Add Snyk Token to Snyk Config | ||
command: node ./bin/snyk config set "api=$env:SNYK_API_KEY" | ||
|
@@ -249,7 +240,6 @@ jobs: | |
- run: sudo npm install -g [email protected] | ||
- attach_workspace: | ||
at: ~/snyk | ||
- update_local_npmrc_linux | ||
- install_deps | ||
- run: | ||
name: Add Snyk Token to Snyk Config | ||
|
@@ -357,7 +347,6 @@ jobs: | |
- run: | ||
name: Install osslsigncode | ||
command: sudo apt-get install -y osslsigncode | ||
- update_local_npmrc_linux | ||
- install_deps | ||
- attach_workspace: | ||
at: ~/snyk | ||
|
@@ -368,12 +357,11 @@ jobs: | |
name: Update package versions | ||
command: ./release-scripts/update-versions.sh | ||
- run: | ||
name: Make git ignore changes relating to version updates and to .npmrc | ||
name: Make git ignore changes relating to version updates | ||
command: | | ||
git update-index --skip-worktree -- ./lerna.json | ||
git update-index --skip-worktree -- ./package.json | ||
git update-index --skip-worktree -- ./packages/snyk-protect/package.json | ||
git update-index --skip-worktree -- ./.npmrc | ||
- run: | ||
name: Lerna Publish | ||
command: | | ||
|
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,4 +1,3 @@ | ||
@snyk:registry=https://registry.npmjs.org | ||
engine-strict=false | ||
audit=false | ||
fund=false |