Skip to content

Commit

Permalink
Create lint-job.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VeiveHata authored Oct 2, 2024
1 parent 61d0fed commit 2150cbc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/lint-job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
on:
workflow_call:
inputs:
branch_name:
required: true
type: string

permissions:
checks: write
contents: write

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

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

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.12
cache: 'pnpm'

- name: Install Node.js dependencies
run: pnpm install

- name: Run linters
run: pnpm lint

0 comments on commit 2150cbc

Please sign in to comment.