Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lerna from 6.6.2 to 7.4.2 #925

Merged
merged 5 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: NPM Install & lerna Bootstrap
run: npm ci
- name: NPM Install
run: npm ci && npm run install:all
- name: Lint
run: npm run lint
- name: Build
Expand Down
12 changes: 12 additions & 0 deletions npm-install-all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Find all directories containing package.json files, up to 2 levels deep, excluding node_modules
directories=$(find . -maxdepth 3 -type d -name "node_modules" -prune -o -type f -name "package.json" -exec dirname {} \;)

# Loop through each directory
for dir in $directories; do
echo "Installing dependencies in $dir"
cd "$dir" || exit 1
npm install
cd - || exit 1
done
Loading