Files
discordeno/.github/workflows/other-runtime-unit-test.yml
T
FlenyandAwesome Stickz 94d14db0ec feat!: Remove fzstd (#5165)
* feat: Remove fzstd

Given node v20 EOL, we can now drop fzstd in favor of node:zlib's zstd implementation

* ci: Bump bun and deno

We don't really have a support policy for deno and bun (for node is the supported upstream) so we bump them to the latest versions

---------

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-23 01:12:41 +05:30

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@v7
with:
node-version: 22
cache: yarn
- uses: denoland/setup-deno@v2
with:
deno-version: 'v2.9.x'
- run: yarn install --immutable
- name: Cache for Turbo
uses: rharkor/caching-for-turbo@v2.5.0
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@v7
with:
node-version: 22
cache: yarn
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.3.14'
- run: yarn install --immutable
- name: Cache for Turbo
uses: rharkor/caching-for-turbo@v2.5.0
with:
cache-prefix: turbo-cache-
- name: Bun Unit Test
run: yarn test:bun-unit --filter=./packages/${{ inputs.package }}
timeout-minutes: 1