[Tech] Move to pnpm #5065
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
branches: [main, stable] | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- name: Install node-gyp. | |
run: pnpm global add node-gyp | |
- name: Install modules. | |
run: pnpm install --frozen-lockfile | |
- name: Lint code. | |
run: pnpm lint | |
- name: Prettier code. | |
run: pnpm prettier | |
- name: Find dead code | |
run: pnpm find-deadcode |