ci.yml 700 B

123456789101112131415161718192021222324252627
  1. name: CI
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - name: Checkout repo
  8. uses: actions/checkout@v2
  9. - name: Set up Node.Js
  10. uses: actions/setup-node@v1
  11. with:
  12. node-version: 12
  13. - name: Fix codestyle
  14. run: |
  15. npm ci
  16. npm run lint
  17. - name: Generate manifest
  18. run: npm run manifest
  19. - name: Commit changes
  20. run: |
  21. git config --global core.autocrlf false
  22. git config --global user.name 'SaltyMonkey'
  23. git config --global user.email 'SaltyMonkey@users.noreply.github.com'
  24. git commit -am "Automated lint and manifest update"
  25. git push