Skip to content

Merge pull request #52 from escwxyz/dependabot/npm_and_yarn/vitest-2.1.6 #187

Merge pull request #52 from escwxyz/dependabot/npm_and_yarn/vitest-2.1.6

Merge pull request #52 from escwxyz/dependabot/npm_and_yarn/vitest-2.1.6 #187

Workflow file for this run

name: Unit Test
on:
- push
- pull_request
jobs:
cache-and-install:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Format Code
run: pnpm format
- name: Test
run: pnpm test