Skip to content

Commit 37ecf27

Browse files
committed
chore: update workflows
1 parent 6ab1645 commit 37ecf27

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/lint-test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
- name: Run tests
2323
run: npm test
2424
- name: Upload coverage to Codecov
25-
if: ${{ secrets.CODECOV_TOKEN }}
25+
env:
26+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
27+
if: env.CODECOV_TOKEN != null
2628
uses: codecov/codecov-action@v4
2729
with:
28-
token: ${{ secrets.CODECOV_TOKEN }}
30+
token: ${{ env.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)