Skip to content

Commit

Permalink
update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-benohe committed Oct 26, 2023
1 parent 7ee6b97 commit d5c2f47
Show file tree
Hide file tree
Showing 4 changed files with 9,716 additions and 10,489 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 14.x
uses: actions/setup-node@v2-beta
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 20.x

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/unit_test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Use Node.js 14.x
uses: actions/setup-node@v2-beta
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 20.x

- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
run: npm run-script coverage

- name: Store the coverage report as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: coverage
path: coverage/lcov.info
Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download coverage artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: coverage

Expand All @@ -87,12 +87,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download coverage artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: coverage

- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
file: lcov.info
fail_ci_if_error: true
Loading

0 comments on commit d5c2f47

Please sign in to comment.