Skip to content

Commit 9c54d35

Browse files
authored
CI: move CI env variable to the root of the workflow. (#29499)
This way we match the Travis CI behavior, and it's inherited by all steps.
1 parent 622c914 commit 9c54d35

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Tests
22
on: [push, pull_request]
3+
env:
4+
CI: true
35

46
jobs:
57
run:
@@ -28,8 +30,6 @@ jobs:
2830

2931
- name: Install npm dependencies
3032
run: npm ci
31-
env:
32-
CI: true
3333

3434
- name: Run tests
3535
run: npm test

0 commit comments

Comments
 (0)