js-lint.yml 434 B

1234567891011121314151617181920
  1. name: eslint check
  2. on:
  3. pull_request:
  4. paths:
  5. - '.github/workflows/js-lint.yml'
  6. - 'cli/tauri.js/**'
  7. jobs:
  8. eslint-check:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v2
  12. - uses: actions/setup-node@v1
  13. - name: install deps via yarn
  14. working-directory: ./cli/tauri.js
  15. run: yarn
  16. - name: run eslint
  17. working-directory: ./cli/tauri.js
  18. run: yarn lint