mirror of
https://github.com/emn178/js-sha256.git
synced 2026-08-13 04:51:56 +08:00
Fix uploading coverage to coveralls
This commit is contained in:
@@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [12.x, 14.x, 16.x, 18.x, 20.x, 22.x]
|
node-version: [14.x, 16.x, 18.x, 20.x, 22.x]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -27,15 +27,18 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
if: matrix.node-version == '22.x'
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
- name: Generate coverage report
|
- name: Generate coverage report
|
||||||
|
if: matrix.node-version == '22.x'
|
||||||
run: npm run coverage
|
run: npm run coverage
|
||||||
|
|
||||||
- name: Upload to coveralls
|
- name: Upload to coveralls
|
||||||
|
if: matrix.node-version == '22.x'
|
||||||
uses: coverallsapp/github-action@v2
|
uses: coverallsapp/github-action@v2
|
||||||
with:
|
with:
|
||||||
file: ./coverage.lcov
|
file: ./coverage.lcov
|
||||||
|
|||||||
+4
-1
@@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
## v0.12.0 / 2026-07-18
|
## v0.12.0 / 2026-07-18
|
||||||
### Added
|
### Added
|
||||||
- support ESM
|
- support ESM #44
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fix uploading coverage to coveralls #52
|
||||||
|
|
||||||
## v0.11.1 / 2025-05-24
|
## v0.11.1 / 2025-05-24
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
Reference in New Issue
Block a user