Skip to content

Commit

Permalink
👷 [#724] Add vite tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Nov 26, 2024
1 parent 935065c commit b60fae5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b60fae5

Please sign in to comment.