Skip to content

Commit

Permalink
test: coverage for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
SkeLLLa committed Jan 3, 2025
1 parent 5236154 commit 6db2b07
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
Expand All @@ -93,6 +93,17 @@ jobs:
run: pnpm install
- name: Build
run: pnpm build
- name: Test
run: pnpm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
use_oidc: true
disable_search: true
files: ./lcov.info
flags: js_open_source
fail_ci_if_error: false
verbose: true
- name: Semantic Release
run: pnpm run release
env:
Expand Down

0 comments on commit 6db2b07

Please sign in to comment.