diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fdf486b0..8bdcecee 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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: @@ -100,8 +85,7 @@ jobs: - name: Linting working-directory: ./ - run: - npm run lint:all + run: npm run lint # 3. Lint prettier: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9e139a6a..637494c8 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,7 +13,7 @@ on: schedule: - cron: "00 00 * * *" env: - environment: dev + environment: "qa" timezone: ${{ vars.TIMEZONE }} jobs: