Skip to content

Commit

Permalink
CI: move CI env variable to the root of the workflow. (#27)
Browse files Browse the repository at this point in the history
This way we match the Travis CI behavior, and it's inherited by all steps.
  • Loading branch information
XhmikosR authored and Trott committed Oct 9, 2019
1 parent f3d3ff5 commit d5cf71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Tests
on: [push, pull_request]
env:
CI: true

jobs:
test:
Expand All @@ -22,8 +24,6 @@ jobs:

- name: Install npm dependencies
run: npm ci
env:
CI: true

- name: Run tests
run: npm run test-ci

0 comments on commit d5cf71f

Please sign in to comment.