Skip to content

Commit

Permalink
chore: adjustment to yaml file to ensure contributions only run on pu…
Browse files Browse the repository at this point in the history
…sh to main (WEB-9)
  • Loading branch information
[email protected] committed Mar 5, 2024
1 parent 6bde1b2 commit 300bac1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
eslint-run-push:
if: github.event_name == 'push'
name: Run ESLint
runs-on: ubuntu-latest
steps:
- name: Run ESLint
run: npm install
npx eslint .
prettier-format-check:
if: github.event_name == 'push'
name: Check code formatting with Prettier
runs-on: ubuntu-latest
steps:
Expand All @@ -34,7 +32,6 @@ jobs:
- name: Run Prettier Check
run: npx prettier --check .
typescript-run-push:
if: github.event_name == 'push'
name: Setup TypeScript on Main Push
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 300bac1

Please sign in to comment.