nodejs.yml 485 B

12345678910111213141516171819202122232425
  1. name: Node CI
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - uses: actions/setup-node@v1
  9. with:
  10. node-version: 12.x
  11. - name: npm install, build, and test
  12. run: |
  13. npm ci
  14. <<<<<<< HEAD:.github/workflows/nodejs.yml
  15. =======
  16. npm run build --if-present
  17. >>>>>>> 6599f97088dcda01d7b05abe9afc732165f0af62:.github/workflows/nodejs.yml
  18. npm run lint
  19. npm test
  20. env:
  21. CI: true