Create test.yml

This commit is contained in:
nexryai
2026-01-09 23:55:59 +09:00
committed by GitHub
parent aa2cd80ce4
commit 9bafce883b
+30
View File
@@ -0,0 +1,30 @@
name: Unit testing CI
on: [push, pull_request]
permissions: {}
jobs:
build:
name: Test with Vitest
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run Vitest
run: pnpm test