Skip to content

Commit bc84ccb

Browse files
committed
refactor: streamline health checks workflow by removing debug steps and updating health check commands
1 parent 929de8b commit bc84ccb

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/health-checks.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,38 +49,21 @@ jobs:
4949
uses: jetli/[email protected]
5050
with:
5151
version: 'latest'
52-
52+
5353
- name: Install Yarn dependencies
5454
run: yarn install --frozen-lockfile
5555

5656
- name: Build project
5757
run: yarn build
5858

59-
- name: Debug Environment Variables
60-
run: |
61-
echo "LIT_STATUS_BACKEND_URL is: $LIT_STATUS_BACKEND_URL"
62-
echo "LIT_STATUS_WRITE_KEY is set: $([ -n "$LIT_STATUS_WRITE_KEY" ] && echo "YES" || echo "NO")"
63-
env:
64-
LIT_STATUS_WRITE_KEY: ${{ secrets.LIT_STATUS_WRITE_KEY }}
65-
LIT_STATUS_BACKEND_URL: ${{ vars.LIT_STATUS_BACKEND_URL }}
66-
6759
- name: Run health check for datil-dev
68-
run: NETWORK=datil-dev yarn ci:health
69-
env:
70-
LIT_STATUS_WRITE_KEY: ${{ secrets.LIT_STATUS_WRITE_KEY }}
71-
LIT_STATUS_BACKEND_URL: ${{ vars.LIT_STATUS_BACKEND_URL }}
60+
run: NETWORK=datil-dev yarn test:health
7261

73-
- name: Run health check for datil-test
62+
- name: Runtestealth check for datil-test
7463
run: NETWORK=datil-test yarn ci:health
75-
env:
76-
LIT_STATUS_WRITE_KEY: ${{ secrets.LIT_STATUS_WRITE_KEY }}
77-
LIT_STATUS_BACKEND_URL: ${{ vars.LIT_STATUS_BACKEND_URL }}
7864

7965
- name: Run health check for datil
8066
run: NETWORK=datil yarn ci:health
81-
env:
82-
LIT_STATUS_WRITE_KEY: ${{ secrets.LIT_STATUS_WRITE_KEY }}
83-
LIT_STATUS_BACKEND_URL: ${{ vars.LIT_STATUS_BACKEND_URL }}
8467

8568
# naga-health-check:
8669
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)