mirror of
https://github.com/discordeno/discordeno.git
synced 2026-07-21 21:52:52 +00:00
bfec01a629
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' 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: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
name: Other Runtime Package Test
|
|
permissions:
|
|
contents: read
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
package:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
deno-unit-test:
|
|
name: Deno Unit Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 20
|
|
cache: yarn
|
|
- uses: denoland/setup-deno@v2
|
|
with:
|
|
deno-version: 'v2.1.x'
|
|
- run: yarn install --immutable
|
|
- name: Cache for Turbo
|
|
uses: rharkor/caching-for-turbo@v2.4.2
|
|
with:
|
|
cache-prefix: turbo-cache-
|
|
- name: Deno Unit Test
|
|
run: yarn test:deno-unit --filter=./packages/${{ inputs.package }}
|
|
bun-unit-test:
|
|
name: Bun Unit Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 20
|
|
cache: yarn
|
|
- uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: '1.1.42'
|
|
- run: yarn install --immutable
|
|
- name: Cache for Turbo
|
|
uses: rharkor/caching-for-turbo@v2.4.2
|
|
with:
|
|
cache-prefix: turbo-cache-
|
|
- name: Bun Unit Test
|
|
run: yarn test:bun-unit --filter=./packages/${{ inputs.package }}
|
|
timeout-minutes: 1
|