Skip to content

Commit

Permalink
LNBits env vars/secrets for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chill117 committed Apr 23, 2024
1 parent 7efe4bc commit a64af01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run Tests
env:
TEST_LNBITS_CONFIG: '{"baseUrl":"${{ env.LNBITS_BASE_URL }}","adminKey":"${{ secrets.LNBITS_ADMIN_KEY }}"}'
TEST_LNBITS_ADDINVOICE: '{"amount":500}'
TEST_LNBITS_GETBALANCE: '{}'
run: npm test

0 comments on commit a64af01

Please sign in to comment.