diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f55a8a661..b8c04b091 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,6 +95,33 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} + tests-vite: + name: Run Javascript tests + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: npm + + - name: Install dependencies + run: npm ci + + - name: Run tests + run: | + npm run vitest + env: + CI: 'true' + + # - name: Publish coverage report + # uses: codecov/codecov-action@v4 + # with: + # token: ${{ secrets.CODECOV_TOKEN }} + prettier: name: Check frontend code formatting with prettier runs-on: ubuntu-latest