Skip to content

Commit

Permalink
Added frontend and backend actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jennymar committed Jan 19, 2024
1 parent c11d930 commit 1c8723f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Backend - lint and style checks

on:
pull_request:
branches:
- main

jobs:
name: Backend check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- working-directory: backend
run: |
npm ci
npm run lint-check
18 changes: 18 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Frontend - lint and style checks

on:
pull_request:
branches:
- main

jobs:
name: Frontend check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- working-directory: backend
run: |
npm ci
npm run lint-check
npm run build

0 comments on commit 1c8723f

Please sign in to comment.