chore: ts-node を tsx へ置き換え #3734
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Coverageのレポートを作成、送信します。 | |
name: Coverage | |
on: | |
pull_request: | |
branches: ["main"] | |
push: | |
branches: ["main"] | |
jobs: | |
coverage: | |
name: Send code coverage report | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Install packages | |
run: pnpm i --frozen-lockfile | |
- name: Generate code coverage report | |
run: pnpm coverage | |
- uses: codecov/codecov-action@v4 | |
with: | |
files: ./packages/bot/coverage/clover.xml | |
flags: unittests | |
fail_ci_if_error: true | |
verbose: true | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |