fix: add warning annotations for contract typings check

This commit is contained in:
Arseniy Klempner 2025-11-21 12:29:24 -08:00
parent 71525a03c9
commit b7eabf5276
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B
2 changed files with 4 additions and 4 deletions

View File

@ -127,12 +127,12 @@ jobs:
run: |
cd packages/rln
npm run setup:contract-abi || {
echo "Failed to generate contract ABIs, marking @waku/rln as private to skip publishing"
echo "::warning::Failed to generate contract ABIs, marking @waku/rln as private to skip publishing"
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));"
exit 0
}
npm run build || {
echo "Failed to build @waku/rln, marking as private to skip publishing"
echo "::warning::Failed to build @waku/rln, marking as private to skip publishing"
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));"
exit 0
}

View File

@ -34,12 +34,12 @@ jobs:
run: |
cd packages/rln
npm run setup:contract-abi || {
echo "Failed to generate contract ABIs, marking @waku/rln as private to skip publishing"
echo "::warning::Failed to generate contract ABIs, marking @waku/rln as private to skip publishing"
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));"
exit 0
}
npm run build || {
echo "Failed to build @waku/rln, marking as private to skip publishing"
echo "::warning::Failed to build @waku/rln, marking as private to skip publishing"
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));"
exit 0
}