Skip to content

Commit

Permalink
ci: upgrade node version. (#1)
Browse files Browse the repository at this point in the history
* refactor: remove unused code.

* chore: add default export.

* ci: report coverage.
  • Loading branch information
morganney committed Jun 8, 2024
1 parent 14e9aa2 commit 72c04a6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1,654 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '20.0.0'
node-version: '22.2.0'
- name: Install Dependencies
run: npm ci
- name: Save error log
Expand All @@ -31,5 +31,9 @@ jobs:
run: npm run lint
- name: Test
run: npm test
- name: Report Coverage
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Pack
run: npm pack
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Setup Node
uses: actions/[email protected]
with:
node-version: '20.0.0'
node-version: '22.2.0'
- name: Install Dependencies
run: npm ci
- name: Save error log
Expand Down
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ coverage:
status:
project:
default:
target: 80.0
target: 75.0
threshold: 0.5
patch:
default:
Expand Down
Loading

0 comments on commit 72c04a6

Please sign in to comment.