Skip to content

Fe linting

Fe linting #76

name: Frontend Component Tests
on:
pull_request:
paths:
- "frontend/**"
branches: [ "main" ]
push:
paths:
- "frontend/**"
branches: [ "main" ]
defaults:
run:
working-directory: ./frontend
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install and Execute Component Tests
run: |
yarn
yarn test:coverage
- name: Coverage Report
uses: romeovs/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./frontend/coverage/lcov.info