Skip to content

Commit

Permalink
chore: update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
keellyp committed Nov 5, 2024
1 parent 1fcd952 commit 4aceaa5
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Lint

on:
on:
pull_request:
types: [opened, reopened, review_requested, ready_for_review, synchronize]

jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- name: Check out Git repository
uses: actions/checkout@v4
Expand All @@ -21,15 +22,10 @@ jobs:
- name: Install Node.js dependencies
run: yarn

- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_extensions: js,ts,tsx
continue_on_error: false
prettier: true
prettier_extensions: ts,tsx,svg,html

- name: Run Translation Check
run: |
yarn translations:inspect
yarn translations:inspect
- name: Run linters
run: |
yarn lint

0 comments on commit 4aceaa5

Please sign in to comment.