Skip to content

Commit

Permalink
build: migrate to npm 7+ as a package manager
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Kingston <jkingston@duckduckgo.com>
  • Loading branch information
jonathanKingston authored and devoto13 committed Apr 14, 2022
1 parent 31701a2 commit 2e11239
Show file tree
Hide file tree
Showing 4 changed files with 28,535 additions and 2,571 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
node-version: 14
cache: npm
- run: npm i -g npm@7
- run: npm ci
- run: npm run lint
- run: npm run build:check
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
node-version: 14
cache: npm
- run: npm i -g npm@7
- run: npm ci
- run: npm run commitlint -- --from `git merge-base origin/master $GITHUB_SHA`
- run: npm run lint
Expand All @@ -42,6 +43,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm i -g npm@7
- run: npm ci
- run: npm run test:unit
- run: npm run test:e2e
Expand All @@ -57,5 +59,6 @@ jobs:
with:
node-version: ${{ matrix.node }}
cache: npm
- run: npm i -g npm@7
- run: npm ci
- run: npm run test:unit
2 changes: 1 addition & 1 deletion docs/dev/02-making-changes.md
Expand Up @@ -19,7 +19,7 @@ Here are some tips on how to set up a Karma workspace and how to send a good pul
$ git clone https://github.com/<your-username>/karma.git
$ cd karma
```
* Install for development
* Install for development (make sure to use NPM 7+ as otherwise installation will fail)
```bash
$ npm install
```
Expand Down

0 comments on commit 2e11239

Please sign in to comment.