Skip to content

Commit

Permalink
DC-#125: Update frontend.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Lica200 authored Apr 29, 2024
1 parent 73c62a7 commit 8084b8c
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2

- name: Install dependencies
run: cd web && npm install

- name: Run tests
run: cd web && npm run test
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: frontend
flags: frontend

0 comments on commit 8084b8c

Please sign in to comment.