Skip to content

Commit

Permalink
add verification of frackend
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes committed Aug 4, 2023
1 parent 06f3ed2 commit 374d7cf
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/verify-frackend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "verify: frackend"

on:
pull_request:
branches:
- 'main'
paths:
- 'apps/frackend/**'
- '.github/*/verify-frackend.yaml'

jobs:
verify:
name: Verify there are no lint or typescript errors
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'
cache-dependency-path: apps/frackend
- name: Install dependencies
working-directory: apps/frackend
run: npm ci

- name: Run ESLint
working-directory: apps/frackend
run: npm run lint

- name: Check for typescript errors
working-directory: apps/frackend
run: npm run check-types

0 comments on commit 374d7cf

Please sign in to comment.