mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-21 02:40:08 +00:00
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5 to 6. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v5...v6) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Fleny <Fleny113@outlook.com>
35 lines
963 B
YAML
35 lines
963 B
YAML
name: Package Test
|
|
permissions:
|
|
contents: read
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
package:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
integration-test:
|
|
name: Integration Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 20
|
|
cache: yarn
|
|
- run: yarn install --immutable
|
|
- name: Cache for Turbo
|
|
uses: rharkor/caching-for-turbo@v2.3.11
|
|
with:
|
|
cache-prefix: turbo-cache-
|
|
- name: Integration Test
|
|
run: yarn test:integration --filter=./packages/${{ inputs.package }}
|
|
timeout-minutes: 3
|
|
- name: Collect and upload the coverage report
|
|
uses: codecov/codecov-action@v6
|
|
with:
|
|
files: ./packages/${{ inputs.package }}/coverage/lcov.info
|
|
flags: ${{ inputs.package }}-integration,${{ inputs.package }}
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|