Skip to content

ci: add lint stage for each pull request (#496) #4

ci: add lint stage for each pull request (#496)

ci: add lint stage for each pull request (#496) #4

Workflow file for this run

name: Code Linting
on:
push:
workflow_call:
jobs:
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run Lint checking
run: pnpm run lint