mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-23 16:00:23 +00:00
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 changed files with 2 additions and 2 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -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 a new issue