]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
CI: move `CI` env variable to the root of the workflow. (#29499)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 8 Oct 2019 05:47:40 +0000 (08:47 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 14 Oct 2019 09:12:05 +0000 (12:12 +0300)
This way we match the Travis CI behavior, and it's inherited by all steps.

.github/workflows/test.yml

index 71fa94351951c1c7c62b7b29f115814221a327f8..d7dc4708cb304f9a69f525882232688371c2c389 100644 (file)
@@ -1,5 +1,7 @@
 name: Tests
 on: [push, pull_request]
+env:
+  CI: true
 
 jobs:
   run:
@@ -39,8 +41,6 @@ jobs:
 
       - name: Install npm dependencies
         run: npm install
-        env:
-          CI: true
 
       - name: Install bundler dependencies
         run: bundle install --deployment --jobs=3 --retry=3 --clean