Skip to content

Run 8560367344, triggered by MocStepan #34

Run 8560367344, triggered by MocStepan

Run 8560367344, triggered by MocStepan #34

name: Build frontend
run-name: "Run ${{github.run_id}}, triggered by ${{github.actor}}"
on:
push:
branches: "*"
pull_request:
branches: "*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v3
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Run tests
run: npm run test:ci
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: frontend
file: frontend/coverage/lcov-report/lcov.info