From 844219f2cb450dde2f5380b56d02d3faeda11c5d Mon Sep 17 00:00:00 2001 From: Marc Durdin Date: Tue, 28 Oct 2025 11:14:22 +0100 Subject: [PATCH] maint(resources): set env variables in npm publish GHA Test-bot: skip Build-bot: skip --- .github/workflows/npm-publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 5c0d443117..c3c3707d1c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -59,6 +59,9 @@ jobs: - name: NPM pack if: github.event.client_payload.isTestBuild == 'true' run: | + export KEYMAN_TIER=$(cat TIER.md) + export GHA_TEST_BUILD="${{ github.event.client_payload.isTestBuild }}" + export GHA_BRANCH="${{ github.event.client_payload.branch }}" if [[ -f ./resources/build/ci/npm-publish.sh ]]; then ./resources/build/ci/npm-publish.sh pack else @@ -68,6 +71,9 @@ jobs: - name: NPM publish if: github.event.client_payload.isTestBuild == 'false' run: | + export KEYMAN_TIER=$(cat TIER.md) + export GHA_TEST_BUILD="${{ github.event.client_payload.isTestBuild }}" + export GHA_BRANCH="${{ github.event.client_payload.branch }}" if [[ -f ./resources/build/ci/npm-publish.sh ]]; then ./resources/build/ci/npm-publish.sh publish else