Merge pull request #220 from utxostack/develop #666
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: Frontend Linter | |
on: | |
pull_request: | |
paths: | |
- frontend/** | |
push: | |
paths: | |
- frontend/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
submodules: 'true' | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '20' | |
- uses: pnpm/action-setup@v4 | |
- name: Install dependency | |
run: pnpm install | |
- name: Run Lint | |
run: npm run lint | |
working-directory: frontend |