lint.yml 901 B

12345678910111213141516171819202122232425262728293031
  1. name: Musare Lint
  2. on: [ push, pull_request, workflow_dispatch ]
  3. env:
  4. COMPOSE_PROJECT_NAME: musare
  5. APP_ENV: development
  6. MONGO_ROOT_PASSWORD: PASSWORD_HERE
  7. MONGO_USER_USERNAME: musare
  8. MONGO_USER_PASSWORD: OTHER_PASSWORD_HERE
  9. MONGO_VERSION: 5.0
  10. REDIS_PASSWORD: PASSWORD
  11. jobs:
  12. lint:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v3
  16. - name: Build Musare
  17. run: |
  18. cp .env.example .env
  19. sed -i 's/APP_ENV=production/APP_ENV=development/g' .env
  20. ./musare.sh build
  21. - name: Start Musare
  22. run: ./musare.sh start
  23. - name: Backend Lint
  24. run: ./musare.sh lint backend
  25. - name: Frontend Lint
  26. run: ./musare.sh lint frontend
  27. - name: Docs Lint
  28. run: ./musare.sh lint docs