Skip to content

chore: fix workflow Unable to locate executable file: pnpm. #2

chore: fix workflow Unable to locate executable file: pnpm.

chore: fix workflow Unable to locate executable file: pnpm. #2

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
# enable pnpm
- run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run ESLint
run: pnpm run lint