Skip to content

Commit 2b36cb2

Browse files
committed
fix: install deps for rln package before building
1 parent b7eabf5 commit 2b36cb2

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ jobs:
131131
node -e "const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8')); pkg.private = true; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));"
132132
exit 0
133133
}
134+
cd ../..
135+
npm install -w packages/rln
136+
cd packages/rln
134137
npm run build || {
135138
echo "::warning::Failed to build @waku/rln, marking as private to skip publishing"
136139
node -e "const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8')); pkg.private = true; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));"

.github/workflows/pre-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
node -e "const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8')); pkg.private = true; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));"
3939
exit 0
4040
}
41+
cd ../..
42+
npm install -w packages/rln
43+
cd packages/rln
4144
npm run build || {
4245
echo "::warning::Failed to build @waku/rln, marking as private to skip publishing"
4346
node -e "const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json', 'utf8')); pkg.private = true; fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2));"

package-lock.json

Lines changed: 1 addition & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)