Skip to content

Commit d5cf71f

Browse files
XhmikosRTrott
authored andcommitted
CI: move CI env variable to the root of the workflow. (#27)
This way we match the Travis CI behavior, and it's inherited by all steps.
1 parent f3d3ff5 commit d5cf71f

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
test:
@@ -22,8 +24,6 @@ jobs:
2224

2325
- name: Install npm dependencies
2426
run: npm ci
25-
env:
26-
CI: true
2727

2828
- name: Run tests
2929
run: npm run test-ci

0 commit comments

Comments
 (0)