Skip to content

Commit

Permalink
Merge pull request #154 from byu-oit/chore/dependencies
Browse files Browse the repository at this point in the history
Make pino-pretty optional
  • Loading branch information
stuft2 committed Nov 19, 2021
2 parents b61c501 + 0ab9409 commit ce0198e
Show file tree
Hide file tree
Showing 8 changed files with 9,379 additions and 2,940 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ on:
- .github/workflows/bump.yml

env:
node_version: "14.x"
node_version: "16.x"

jobs:
test:
name: Test Module
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand All @@ -34,15 +34,14 @@ jobs:
run: npm install

- name: npm test
if: ${{ matrix.node-version != env.node_version }} # just run the tests if not node 14
run: npm run test

- name: npm test with coverage
if: ${{ matrix.node-version == env.node_version }} # only upload coverage from node 14
if: ${{ matrix.node-version == env.node_version }} # just run coverage if node 16
run: npm run coverage

- name: Upload coverage to Codecov
if: ${{ matrix.node-version == env.node_version }} # only upload coverage from node 14
if: ${{ matrix.node-version == env.node_version }} # just run coverage if node 16
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- .github/workflows/bump.yml

env:
node_version: "14.x"
node_version: "16.x"

jobs:
env:
Expand Down
Loading

0 comments on commit ce0198e

Please sign in to comment.