kdnk_obsidian-automatic-linker/.github/workflows/vitest.yml
2025-02-02 13:56:45 +09:00

28 lines
522 B
YAML

name: Vitest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Run tests with Vitest
run: npm run test