From 5dbd8b9b359f0dfe45b7a31edee78e616de7bb81 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Thu, 15 Aug 2024 16:39:15 +0100 Subject: [PATCH] refactor: Update environment variable name for billing private key in test.common.yaml and test-setup.sh --- .github/workflows/test.common.yaml | 2 +- Common/test-setup.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.common.yaml b/.github/workflows/test.common.yaml index 8baefa6afa..4c80bd3bcf 100644 --- a/.github/workflows/test.common.yaml +++ b/.github/workflows/test.common.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest env: CI_PIPELINE_ID: ${{github.run_number}} - TEST_BILLING_PRIVATE_KEY: ${{secrets.TEST_BILLING_PRIVATE_KEY}} + BILLING_PRIVATE_KEY: ${{secrets.TEST_BILLING_PRIVATE_KEY}} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/Common/test-setup.sh b/Common/test-setup.sh index 305b8f520d..a4c95f80a9 100644 --- a/Common/test-setup.sh +++ b/Common/test-setup.sh @@ -21,7 +21,7 @@ SUBSCRIPTION_PLAN_GROWTH=Growth,price_1M4nhZANuQdJ93r7yfQ1MePQ,price_1M4r3OANuQd SUBSCRIPTION_PLAN_SCALE=Scale,price_1MKidGANuQdJ93r7FoaZ1dOb,price_1MKidRANuQdJ93r7LVOc0BUy,99,84,3,14 SUBSCRIPTION_PLAN_ENTERPRISE=Enterprise,price_1M4ng9ANuQdJ93r7CP90ezSN,price_1M4ng9ANuQdJ93r72ZYUp4PU,-1,-1,4,14 BILLING_PUBLIC_KEY=pk_test_51LleTZANuQdJ93r7PvyfOvpm5TZXtUf1T5fjS5cbOmDuCFIiGMoEhvuIrzTRMcZirg7qJwgbjLeCmXmxL1BiUDi100IzcuP3SU -BILLING_PRIVATE_KEY=$TEST_BILLING_PRIVATE_KEY +BILLING_PRIVATE_KEY=$BILLING_PRIVATE_KEY EOL npm run prerun