Merge pull request #355 from holographxyz/develop #886
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: 'Enforce Linter' | |
on: | |
push: | |
branches: | |
- main | |
- testnet | |
- develop | |
- experimental | |
pull_request: | |
branches: | |
- main | |
- testnet | |
- develop | |
- experimental | |
jobs: | |
run-linter: | |
name: Run linter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.12.2' | |
- uses: pnpm/action-setup@v3 | |
name: Install pnpm | |
with: | |
version: 8 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint Check | |
run: pnpm lint |