Skip to content

Commit

Permalink
Add env
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Jan 25, 2020
1 parent d49207d commit 89c0325
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/dev-test.yml
Expand Up @@ -15,7 +15,10 @@ jobs:
- "13"
- "12"
- "10"

env:
AST_COMPARE: true
ENABLE_TEST_RESULTS: true
ENABLE_CODE_COVERAGE: true
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -34,10 +37,3 @@ jobs:

- name: Run Test
run: yarn test

- name: Upload Coverage To Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/cobertura-coverage.xml
fail_ci_if_error: true
5 changes: 4 additions & 1 deletion .github/workflows/prod-test.yml
Expand Up @@ -71,7 +71,9 @@ jobs:
- "13"
- "12"
- "10"

env:
AST_COMPARE: true
ENABLE_TEST_RESULTS: true
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: [build]
Expand Down Expand Up @@ -103,4 +105,5 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/cobertura-coverage.xml
yaml: ./coverage/cobertura-coverage.xml
fail_ci_if_error: true

0 comments on commit 89c0325

Please sign in to comment.