Files
drizzle-otel/.github/workflows/unit-test.yml
2025-10-02 15:28:26 -05:00

37 lines
696 B
YAML

name: Unit Tests
on:
push:
branches: [main, v1.x]
pull_request:
branches: [main, v1.x]
jobs:
test:
name: "unit tests"
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Run unit tests
run: pnpm unit-test