Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pino-pretty optional #154

Merged
merged 7 commits into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 not node 16
stuft2 marked this conversation as resolved.
Show resolved Hide resolved
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