Skip to content

Unit Tests

Unit Tests #2

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v3
- name: Setup Node.js 18
uses: actions/setup-node@v3
with:
node-version: "18.x"
env:
CI: true
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: pnpm lint
run: pnpm lint
env:
CI: true
- name: pnpm build
run: pnpm build
env:
CI: true
- name: pnpm test
run: pnpm test
env:
CI: true