Skip to content

Commit 4eb4978

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

File tree

3 files changed

+9
-22
lines changed

3 files changed

+9
-22
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@ 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+
npm run build -w @waku/utils -w @waku/interfaces -w @waku/core -w @waku/message-encryption
137+
cd packages/rln
134138
npm run build || {
135139
echo "::warning::Failed to build @waku/rln, marking as private to skip publishing"
136140
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ 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+
npm run build -w @waku/utils -w @waku/interfaces -w @waku/core -w @waku/message-encryption
44+
cd packages/rln
4145
npm run build || {
4246
echo "::warning::Failed to build @waku/rln, marking as private to skip publishing"
4347
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)