No Description
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.

main.yml 995B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. name: CI
  2. on: [push, pull_request]
  3. jobs:
  4. linting:
  5. name: Linting
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v1
  9. - name: Use Node.js 8
  10. uses: actions/setup-node@v1
  11. with:
  12. node-version: 8
  13. - name: npm install
  14. run: npm install
  15. - name: Run linting
  16. run: grunt compile lint
  17. tests:
  18. name: Tests
  19. runs-on: ubuntu-latest
  20. steps:
  21. - uses: actions/checkout@v1
  22. - name: Use Node.js 8
  23. uses: actions/setup-node@v1
  24. with:
  25. node-version: 8
  26. - name: npm install
  27. run: npm install
  28. - name: Run tests
  29. run: grunt compile test
  30. minification:
  31. name: Minification
  32. runs-on: ubuntu-latest
  33. steps:
  34. - uses: actions/checkout@v1
  35. - name: Use Node.js 8
  36. uses: actions/setup-node@v1
  37. with:
  38. node-version: 8
  39. - name: npm install
  40. run: npm install
  41. - name: Run minification
  42. run: grunt compile minify