Skip to content

Use Vitest for Testing #415

Use Vitest for Testing

Use Vitest for Testing #415

Workflow file for this run

name: Build
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build-library:
name: Build Library
runs-on: ubuntu-24.04
steps:
- name: Checkout Project
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version-file: .nvmrc
- name: Setup Yarn
uses: threeal/[email protected]
- name: Check Formatting
run: |
yarn format
git diff --exit-code HEAD
- name: Check Lint
run: yarn lint
- name: Test Library
run: yarn test
- name: Build Documentation
run: yarn docs
- name: Package Library
run: yarn pack
- name: Upload Package
uses: actions/[email protected]
with:
name: package
path: package.tgz
if-no-files-found: error
overwrite: true