Skip to content

Commit

Permalink
[#512] chore: join test & code check workflows into one
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Mar 19, 2024
1 parent a785df0 commit 8ffd967
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Frontend Test
name: Frontend Test, Lint & Type Check

on:
push:
paths:
- govtool/frontend/**
- .github/workflows/test_frontend.yml

defaults:
run:
working-directory: govtool/frontend

jobs:
test:
code_check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -25,7 +29,12 @@ jobs:
node-version: "18.x"

- name: Run Frontend Test
working-directory: govtool/frontend
run: |
npm install
npm run test
- name: Lint
run: npm run lint

- name: Type Check
run: npm run tsc
37 changes: 0 additions & 37 deletions .github/workflows/code_style_check_frontend.yml

This file was deleted.

0 comments on commit 8ffd967

Please sign in to comment.