Skip to content

Commit

Permalink
Revert "Feature : Standardize the Pull Request GitHub Action to match…
Browse files Browse the repository at this point in the history
… Talawa API (PalisadoesFoundation#1288)"

This reverts commit dfe1dc9.
  • Loading branch information
VaibhavTalkhande committed Dec 28, 2023
1 parent 7a23524 commit cc51e4d
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ env:
CODECOV_UNIQUE_NAME: CODECOV_UNIQUE_NAME-${{ github.run_id }}-${{ github.run_number }}

jobs:
Code-Quality-Checks:
name: Performs linting, formatting, type-checking

Continuous-Integration:

name: Performs linting, formatting, type-checking, and testing on the application
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
Expand All @@ -47,30 +49,14 @@ jobs:
if: steps.changed-files.outputs.only_changed != 'true'
run: npm run typecheck

- name: Run linting check
if: steps.changed-files.outputs.only_changed != 'true'
run: npm run lint:check


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: Get changed TypeScript files
id: changed-files
uses: tj-actions/changed-files@v40

- name: Run tests
if: steps.changed-files.outputs.only_changed != 'true'
run: npm run test -- --watchAll=false --coverage

- name: Run linting check
if: steps.changed-files.outputs.only_changed != 'true'
run: npm run lint:check

- name: TypeScript compilation for changed files
run: |
for file in ${{ steps.changed-files.outputs.all_files }}; do
Expand Down

0 comments on commit cc51e4d

Please sign in to comment.