Skip to content

Bump vite from 5.3.5 to 5.4.5 in /frontend #171

Bump vite from 5.3.5 to 5.4.5 in /frontend

Bump vite from 5.3.5 to 5.4.5 in /frontend #171

Workflow file for this run

name: 'frontend vitest'
on:
pull_request:
paths-ignore:
- 'docs/**'
push:
branches:
- main
paths-ignore:
- 'docs/**'
jobs:
test:
runs-on: ubuntu-latest
permissions:
# Required to checkout the code
contents: read
# Required to put a comment into the pull-request
pull-requests: write
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- name: 'Install Node'
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: 'Install Deps'
run: npm install
- name: 'Test'
run: npx vitest --coverage.enabled true
- name: 'Report Coverage'
# Set if: always() to also generate the report if tests are failing
# Only works if you set `reportOnFailure: true` in your vite config as specified above
if: always()
uses: davelosert/vitest-coverage-report-action@v2
working-directory: ./frontend

Check failure on line 39 in .github/workflows/vitest.yml

View workflow run for this annotation

GitHub Actions / frontend vitest

Invalid workflow file

The workflow is not valid. .github/workflows/vitest.yml (Line: 39, Col: 7): Unexpected value 'working-directory'