aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-10-08 08:47:40 +0300
committerGitHub <[email protected]>2019-10-08 08:47:40 +0300
commit9c54d3579757aa1e4027ff8fb434a18c656d840c (patch)
treedad757fe559fda2dd79ded675c5c39d830309297 /.github/workflows
parent622c914a3acc1ab933b3e89d8abfdd63feeb4016 (diff)
downloadbootstrap-9c54d3579757aa1e4027ff8fb434a18c656d840c.tar.xz
bootstrap-9c54d3579757aa1e4027ff8fb434a18c656d840c.zip
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.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/test.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 27739bf86..5fbe7ff7c 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