Skip to content

Commit

Permalink
3.4.0-dev-21
Browse files Browse the repository at this point in the history
Added linter action
  • Loading branch information
AlexInCube committed Aug 3, 2024
1 parent 1223225 commit 2f95e76
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Lint

on:
push:
branches: ['**']
pull_request:
branches: ['**']

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

steps:
- name: Check out Git repository
uses: actions/checkout@v4

- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
version: 9

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Run linters
uses: wearerequired/lint-action@v2
with:
eslint: true
prettier: true

0 comments on commit 2f95e76

Please sign in to comment.