You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ci_eslint.yml 500B

12345678910111213141516171819202122232425
  1. name: ci_eslint
  2. on:
  3. workflow_call:
  4. jobs:
  5. eslint:
  6. runs-on: ubuntu-latest
  7. container:
  8. image: node:18-alpine
  9. steps:
  10. - name: Check out source code
  11. uses: actions/checkout@v4
  12. - name: Install dependencies
  13. run: npm install
  14. - name: Show installed packages
  15. run: npm ls
  16. - name: Run eslint
  17. run: ./node_modules/.bin/eslint ./
  18. - name: Run stylelint
  19. run: ./node_modules/.bin/stylelint ./**/*.css ./**/*.html ./**/*.js