Skip to content

Commit

Permalink
Feature : Standardize the Pull Request GitHub Action to match Talawa API
Browse files Browse the repository at this point in the history
  • Loading branch information
aialok committed Dec 25, 2023
1 parent 9ff2924 commit 67c88da
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ env:

jobs:

Continuous-Integration:
Code-Quality-Checks:

name: Performs linting, formatting, type-checking and testing on the application
name: Check for linting, formatting, and type errors
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
Expand All @@ -45,6 +45,17 @@ jobs:
- name: Check for type errors
run: npm run typecheck

Test-Application:
name: Test Application
runs-on: ubuntu-latest
needs: [Code-Quality-Checks]
steps:
- name: Checkout the Repository
uses: actions/checkout@v3

- name: Install Dependencies
run: npm install --legacy-peer-deps

- name: Run tests
run: npm run test -- --watchAll=false --coverage

Expand All @@ -60,6 +71,7 @@ jobs:
with:
path: "./coverage/lcov.info"
min_coverage: 95.0

Graphql-Inspector:
name: Runs Introspection on the github talawa-api repo on the schema.graphql file
runs-on: ubuntu-latest
Expand Down

0 comments on commit 67c88da

Please sign in to comment.