Skip to content

Commit

Permalink
Add Node 20 to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle1morel committed Nov 2, 2023
1 parent e3b9e3b commit 643d885
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
node-version:
- '16.x'
- '18.x'
- '20.x'
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -52,14 +53,14 @@ jobs:
env:
CI: true
- name: Save Coverage Results
if: matrix.node-version == '18.x'
if: matrix.node-version == '20.x'
uses: actions/upload-artifact@v3
with:
name: coverage-app
path: ${{ github.workspace }}/app/coverage
retention-days: 1
- name: Monitor Coverage
if: "matrix.node-version == '18.x' && ! github.event.pull_request.head.repo.fork"
if: "matrix.node-version == '20.x' && ! github.event.pull_request.head.repo.fork"
uses: slavcodev/coverage-monitor-action@v1
with:
comment_mode: update
Expand All @@ -84,6 +85,7 @@ jobs:
node-version:
- '16.x'
- '18.x'
- '20.x'
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -115,14 +117,14 @@ jobs:
env:
CI: true
- name: Save Coverage Results
if: matrix.node-version == '18.x'
if: matrix.node-version == '20.x'
uses: actions/upload-artifact@v3
with:
name: coverage-frontend
path: ${{ github.workspace }}/frontend/coverage
retention-days: 1
- name: Monitor Coverage
if: "matrix.node-version == '18.x' && ! github.event.pull_request.head.repo.fork"
if: "matrix.node-version == '20.x' && ! github.event.pull_request.head.repo.fork"
uses: slavcodev/coverage-monitor-action@v1
with:
comment_mode: update
Expand Down

0 comments on commit 643d885

Please sign in to comment.