Skip to content

[TECH] Add a workflow to build version #196

[TECH] Add a workflow to build version

[TECH] Add a workflow to build version #196

Workflow file for this run

name: Check tests
on:
pull_request:
branches:
- main
jobs:
vitest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 'latest'
- name: Install dependencies
run: npm install
- name: Run all tests
run: npx vitest run
# Collecter les résultats des tests
- name: Store test results (optional)
if: always()
uses: actions/upload-artifact@v3
with:
name: test-results
path: ./test-results