1e93ec4216
This reverts commit cb27b7278a.
46 lines
996 B
YAML
46 lines
996 B
YAML
name: "🧪 Unit Tests"
|
|
on:
|
|
workflow_call:
|
|
jobs:
|
|
unitTests:
|
|
name: "🧪 Unit Tests"
|
|
runs-on: buildjet-8vcpu-ubuntu-2204
|
|
steps:
|
|
- name: ⬇️ Checkout repo
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: ⎔ Setup pnpm
|
|
uses: pnpm/action-setup@v2.2.4
|
|
with:
|
|
version: 8.15.5
|
|
|
|
- name: ⎔ Setup node
|
|
uses: buildjet/setup-node@v3
|
|
with:
|
|
node-version: 20.11.1
|
|
cache: "pnpm"
|
|
|
|
- name: Install Protoc
|
|
uses: arduino/setup-protoc@v3
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: ⎔ Setup Deno
|
|
uses: denoland/setup-deno@v1
|
|
with:
|
|
deno-version: v1.x
|
|
|
|
- name: ⎔ Setup bun
|
|
uses: oven-sh/setup-bun@v1
|
|
with:
|
|
bun-version: "1.0.15"
|
|
|
|
- name: 📥 Download deps
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run Unit Tests
|
|
run: |
|
|
pnpm run test
|