Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch back to coveralls. Fix pnpm audit issue. #131

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
pull_request:
branches:
- main
workflow_call:
secrets:
CODECOV_TOKEN:
required: true

jobs:
build:
Expand Down Expand Up @@ -42,7 +38,22 @@ jobs:
run: npm run lint
- name: Test
run: npm run ci
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
# Stay on coveralls instead of codecov, since hildjj doesn't own the
# repo directly, and it's too much work to figure out.
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
token: ${{ secrets.CODECOV_TOKEN }}
github-token: ${{ secrets.github_token }}
flag-name: node-${{ matrix.node-version }}
path-to-lcov: ./coverage/lcov.info
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: ./coverage/lcov.info
parallel-finished: true
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
cache: pnpm
- run: pnpm i -r
- run: npm run build
- run: npm pkg delete devDependencies scripts packageManager pnpm
- run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,10 @@
"packageManager": "[email protected]",
"engines": {
"node": ">=18"
},
"pnpm": {
"overrides": {
"cross-spawn": "7.0.6"
}
}
}
15 changes: 4 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.