name: "build-test" on: # rebuild any PRs and main branch changes pull_request: branches: - main - 'releases/*' push: branches: - main - 'releases/*' jobs: build: # make sure build/ci works properly runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: build and run tests run: | npm install npm build npm test