Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
YehiaFarghaly committed Oct 6, 2023
2 parents df6e102 + b1a532e commit 8dd3750
Show file tree
Hide file tree
Showing 8 changed files with 2,288 additions and 1,099 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/client-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Frontend CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
lint-and-test-frontend:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install dependencies (Frontend)
run: npm ci
working-directory: client

- name: Run ESLint (Frontend)
run: npm run lint
working-directory: client

- name: Run tests (Frontend)
run: npm test
working-directory: client
Loading

0 comments on commit 8dd3750

Please sign in to comment.