Skip to content

Commit

Permalink
fix(github): fixed github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi-markan committed May 17, 2024
1 parent dc17ea5 commit dfb6dfb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,13 @@ run-name: 🎨 Lint checking on ${{ github.event.number }}

on:
pull_request:
branches:
- main
- "release-*"

branches: [main]
paths:
- "package*.json"
- "docker*.yml"
- ".github/workflows/**"
- "gef-ui/**"
- "portal/**"
- "portal-api/**"
- "trade-finance-manager-ui/**"
- "trade-finance-manager-api/**"
- "external-api/**"
- "dtfs-central-api/**"
- "azure-functions/**"
- "e2e-tests/**"
- "utils/mock-data-loader/**"
- "libs/**"
- "src/**"
- "test/**"

env:
environment: dev
environment: "qa"
timezone: ${{ vars.TIMEZONE }}

jobs:
Expand Down Expand Up @@ -100,8 +85,7 @@ jobs:

- name: Linting
working-directory: ./
run:
npm run lint:all
run: npm run lint

# 3. Lint
prettier:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
schedule:
- cron: "00 00 * * *"
env:
environment: dev
environment: "qa"
timezone: ${{ vars.TIMEZONE }}

jobs:
Expand Down

0 comments on commit dfb6dfb

Please sign in to comment.