lint.yml 608 B

123456789101112131415161718192021222324252627282930
  1. name: "Lint BetterYTM"
  2. on:
  3. push:
  4. branches: [develop]
  5. jobs:
  6. lint:
  7. name: Lint
  8. runs-on: ubuntu-latest
  9. timeout-minutes: 10
  10. strategy:
  11. matrix:
  12. node-version: [18.x]
  13. env:
  14. CI: "true"
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: Set up Node.js v${{ matrix.node-version }}
  18. uses: actions/setup-node@v3
  19. with:
  20. node-version: ${{ matrix.node-version }}
  21. - name: Install dependencies # runs the npm ci command to install from package-lock.json
  22. run: npm ci
  23. - name: Build with tsc & lint
  24. run: npm run lint