weblint.yml 474 B

12345678910111213141516171819202122232425262728
  1. # This workflow lints the code in /Website, if any was committed
  2. name: Website Lint
  3. on:
  4. push:
  5. branches: [ main ]
  6. paths:
  7. - Website/**
  8. pull_request:
  9. branches: [ main ]
  10. paths:
  11. - Website/**
  12. jobs:
  13. weblint:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: actions/checkout@main
  17. - name: npm install
  18. run: npm install
  19. working-directory: Website
  20. - name: npm run lint
  21. run: npm run lint
  22. working-directory: Website