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 0e65dbf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
14 changes: 5 additions & 9 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 @@ -32,12 +35,5 @@ jobs:
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Run Test
- name: Run Tests
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
6 changes: 4 additions & 2 deletions .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 All @@ -95,7 +97,7 @@ jobs:
name: dist
path: dist

- name: Run Test
- name: Run Tests
run: yarn test:dist

- name: Upload Coverage To Codecov
Expand Down

0 comments on commit 0e65dbf

Please sign in to comment.