Skip to content

Commit

Permalink
refactor: switch to NPM workspaces
Browse files Browse the repository at this point in the history
The `lerna bootstrap` command is deprecated[1]
and resulted in a very weird CI failure (dequelabs#685).

This commit switches the repository to instead use
NPM workspaces.[2]

[1]: lerna/lerna#3410
[2]: https://docs.npmjs.com/cli/v7/using-npm/workspaces
  • Loading branch information
not-my-profile committed Mar 16, 2023
1 parent 3bff580 commit a7bbe0a
Show file tree
Hide file tree
Showing 9 changed files with 35,077 additions and 9,571 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ jobs:
key: v2-root-npm-{{ checksum "package-lock.json" }}
paths:
- node_modules
- run: npm run bootstrap -- --ci
- save_cache:
key: v2-cli-npm-{{ checksum "packages/cli/package-lock.json" }}
paths:
Expand Down Expand Up @@ -210,8 +209,7 @@ jobs:
- run: npm install -g node@14 --force
- checkout
- restore_dependency_cache
- run: npm install
- run: npm run bootstrap -- --ci
- run: npm ci
- run: npm run build --prefix=packages/playwright
- run: npm run coverage --prefix=packages/playwright

Expand Down
Loading

0 comments on commit a7bbe0a

Please sign in to comment.