Skip to content

Commit be452a0

Browse files
committed
CI: move CI env variable to the root of the workflow. (twbs#29499)
This way we match the Travis CI behavior, and it's inherited by all steps.
1 parent 23a78f0 commit be452a0

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:
@@ -39,8 +41,6 @@ jobs:
3941

4042
- name: Install npm dependencies
4143
run: npm install
42-
env:
43-
CI: true
4444

4545
- name: Install bundler dependencies
4646
run: bundle install --deployment --jobs=3 --retry=3 --clean

0 commit comments

Comments
 (0)