diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-10-06 13:00:08 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-10-06 13:00:33 +0300 |
commit | 9b70336bdc7326e1550b00241d18fea1d94f55b5 (patch) | |
tree | 65f60ec0588cf02d9f670953d9d4f8d92ade7ecb /.github | |
parent | e9c02163dbfc428743c524e2413305f3a9bd2778 (diff) |
CI: move `CI` env variable to the root of the workflow.
This way we match the Travis CI behavior, and it's inherited by all steps.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80448f036..0fa4a9326 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: test: @@ -20,8 +22,6 @@ jobs: - name: Install npm dependencies run: npm ci - env: - CI: true - name: Run tests run: npm test |