Skip to content

Commit

Permalink
Merge pull request #2148 from snyk/chore/ci-optimization
Browse files Browse the repository at this point in the history
Chore/ci optimization
  • Loading branch information
maxjeffos committed Aug 11, 2021
2 parents 04d18cd + 906e766 commit 104b07d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .circleci/config.yml
Expand Up @@ -142,16 +142,13 @@ commands:
mv gh-download/gh_1.3.1_linux_amd64/bin/gh /home/circleci/bin
which gh
gh --version
install_lerna_linux:
description: Setup Lerna
steps:
- run: sudo npm install -g lerna@3.22.1
jobs:
regression-test:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
resource_class: large
steps:
- checkout
- install_shellspec
Expand Down Expand Up @@ -321,7 +318,6 @@ jobs:
at: ~/snyk
- run: sudo npm install -g npm@7
- show_node_version
- install_lerna_linux
- update_local_npmrc_linux
- install_deps
- build_ts
Expand Down Expand Up @@ -408,15 +404,14 @@ jobs:
<<: *defaults
docker:
- image: circleci/node:<< parameters.node_version >>
resource_class: small
resource_class: large
steps:
- checkout
- run:
name: Install npm@7
command: |
sudo npm install -g npm@7
- show_node_version
- install_lerna_linux
- install_deps
- run:
name: Update package versions
Expand Down Expand Up @@ -454,7 +449,6 @@ jobs:
command: |
sudo npm install -g npm@7
- show_node_version
- install_lerna_linux
- update_local_npmrc_linux
- install_deps
- run:
Expand Down
1 change: 1 addition & 0 deletions check-dependencies.config.ts
Expand Up @@ -6,6 +6,7 @@ export const config: Options = {
'@types/jest', // jest is a global so impossible to detect usage of types
'jest-junit', // used in circleci
'tap-junit', // used in circleci
'lerna', // used in circleci
],
ignoreDirs: ['node_modules', 'dist', 'fixtures', 'test-output'],
};
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -167,6 +167,7 @@
"fs-extra": "^9.1.0",
"jest": "^27.0.6",
"jest-junit": "^12.0.0",
"lerna": "^3.22.1",
"lodash": "^4.17.20",
"madge": "^3.4.4",
"mock-fs": "^4.13.0",
Expand Down

0 comments on commit 104b07d

Please sign in to comment.