build-on-push.yml 350 B

1234567891011121314151617181920
  1. name: Build and test application on push to remote
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. branches:
  8. - master
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v1
  14. - uses: actions/setup-node@v1
  15. with:
  16. node-version: 16
  17. - run: make build
  18. - run: make test