]> 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)
committerGitHub <noreply@github.com>
Tue, 8 Oct 2019 05:47:40 +0000 (08:47 +0300)
This way we match the Travis CI behavior, and it's inherited by all steps.

.github/workflows/test.yml

index 27739bf86cc2f4bf859699b78a97d122d4381c22..5fbe7ff7cda04c4065cd01aae753f52673bb342b 100644 (file)
@@ -1,5 +1,7 @@
 name: Tests
 on: [push, pull_request]
+env:
+  CI: true
 
 jobs:
   run:
@@ -28,8 +30,6 @@ jobs:
 
       - name: Install npm dependencies
         run: npm ci
-        env:
-          CI: true
 
       - name: Run tests
         run: npm test