Skip to content

Run 8553590846, triggered by MocStepan #6

Run 8553590846, triggered by MocStepan

Run 8553590846, triggered by MocStepan #6

Workflow file for this run

name: Build frontend
run-name: "Run ${{github.run_id}}, triggered by ${{github.actor}}"
on:
push:
branches: "*"
pull_request:
branches: "*"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: npm install and npm run CI commands
run: |
npm i
npm run test:ci
npm run build:ci
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: frontend
slug: ${{ github.repository }}
file: frontend/coverage/lcov-report/lcov.info