name: test on: push: branches: - master workflow_dispatch: pull_request: types: [opened, synchronize, reopened, edited] jobs: main: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: install dependencies run: npm install - name: build run: npm test