diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec99cc2f40..9bf8c5939c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 } diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 5ccf41befe..d2dc54ab64 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -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 }