tauri/.github/workflows/js-lint.yml

26 lines
580 B
YAML
Raw Normal View History

name: eslint check
on:
pull_request:
paths:
- '.github/workflows/js-lint.yml'
- 'cli/tauri.js/**'
jobs:
eslint-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12'
- name: install deps via yarn
working-directory: ./cli/tauri.js/
run: yarn
- name: run eslint
working-directory: ./cli/tauri.js/
run: yarn lint
- name: run prettier
working-directory: ./cli/tauri.js/
run: yarn format:check