diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml new file mode 100644 index 00000000..44561c4a --- /dev/null +++ b/.github/workflows/verify-build.yml @@ -0,0 +1,31 @@ +name: Verify build + +on: + workflow_dispatch: + pull_request_target: + types: [ opened, synchronize, reopened ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: install + run: npm ci + + - name: build + run: npm run build + + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: install + run: npm ci + + - name: test + run: npm run test