Files
discordeno/.github/workflows/integration-test.yml
T
FlenyandAwesome Stickz 580e5d3f56 ci: Use node v22 (#5167)
In package.json, the reason for >= 22.15 is that thats the node:zlib's zstd minimum version

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-22 19:43:22 +05:30

35 lines
962 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@v7
- uses: actions/setup-node@v7
with:
node-version: 22
cache: yarn
- run: yarn install --immutable
- name: Cache for Turbo
uses: rharkor/caching-for-turbo@v2.5.0
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@v7
with:
files: ./packages/${{ inputs.package }}/coverage/lcov.info
flags: ${{ inputs.package }}-integration,${{ inputs.package }}
token: ${{ secrets.CODECOV_TOKEN }}