Merge pull request #687 from holographxyz/develop #1076
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: '18.4.0' | |
- name: Install dependencies | |
run: yarn install | |
- name: Lint Check | |
run: yarn lint |