style.yml 566 B

1234567891011121314151617181920212223242526272829303132333435
  1. name: Style check
  2. on:
  3. pull_request:
  4. branches:
  5. - main
  6. push:
  7. branches:
  8. - deploy/dev
  9. jobs:
  10. test:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Checkout code
  14. uses: actions/checkout@v4
  15. - name: Setup NodeJS
  16. uses: actions/setup-node@v4
  17. with:
  18. node-version: 18
  19. cache: yarn
  20. cache-dependency-path: ./web/package.json
  21. - name: Web dependencies
  22. run: |
  23. cd ./web
  24. yarn install --frozen-lockfile
  25. - name: Web style check
  26. run: |
  27. cd ./web
  28. yarn run lint