From: XhmikosR Date: Tue, 8 Oct 2019 05:47:40 +0000 (+0300) Subject: CI: move `CI` env variable to the root of the workflow. (#29499) X-Git-Tag: v5.0.0-alpha1~738 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c54d3579757aa1e4027ff8fb434a18c656d840c;p=thirdparty%2Fbootstrap.git 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. --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 27739bf86c..5fbe7ff7cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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