mirror of https://github.com/twbs/bootstrap.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.
This commit is contained in:
parent
622c914a3a
commit
9c54d35797
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue