Skip to content

Commit

Permalink
Merge pull request #2013 from snyk/smoke/fix-broken-smoke-tests
Browse files Browse the repository at this point in the history
smoke: get rid of changes from #1974 to fix broken test
  • Loading branch information
Avishagp committed Jun 9, 2021
2 parents 0bc79ea + 217d1fa commit e862aed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Expand Up @@ -39,6 +39,12 @@ commands:
- run:
name: Install dependencies
command: npm install
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:
Expand Down Expand Up @@ -163,6 +169,7 @@ jobs:
command: |
sudo npm install -g npm@7
- show_node_version
- update_local_npmrc_linux
- install_deps
- build_ts
- generate_help
Expand Down Expand Up @@ -223,6 +230,9 @@ jobs:
- run:
name: Setup Lerna
command: npm install -g lerna@3.22.1
- run:
name: Update local .npmrc file (Windows)
command: echo "//registry.npmjs.org/:_authToken=$env:NPM_TOKEN" >> .npmrc
- run:
name: Install dependencies (Windows)
command: npm install --ignore-scripts # ignore-scripts required because of postinstall script in snyk-resolve-deps package
Expand Down Expand Up @@ -324,6 +334,7 @@ jobs:
- run: sudo npm install -g npm@7
- show_node_version
- install_lerna_linux
- update_local_npmrc_linux
- install_deps
- build_ts
- run:
Expand Down Expand Up @@ -462,6 +473,7 @@ jobs:
sudo npm install -g npm@7
- show_node_version
- install_lerna_linux
- update_local_npmrc_linux
- install_deps
- generate_help
- run:
Expand Down

0 comments on commit e862aed

Please sign in to comment.