quivr/.github/workflows/vitest.yml

25 lines
501 B
YAML
Raw Normal View History

name: Vitest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
2023-06-29 14:31:19 +03:00
cache-dependency-path: frontend/yarn.lock
- run: yarn
- run: yarn run test-unit