From b7eabf527675b9589d80f5fe791bfeabce7d56c3 Mon Sep 17 00:00:00 2001 From: Arseniy Klempner Date: Fri, 21 Nov 2025 12:29:24 -0800 Subject: [PATCH] fix: add warning annotations for contract typings check --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pre-release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }