Comment 02_ValidateDeployChain2 #9
This file contains hidden or 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: '18.4.0' | |
- uses: pnpm/action-setup@v3 | |
name: Install pnpm | |
with: | |
version: 8 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Lint Check | |
run: pnpm lint |