From 0575c27784194259596537a1d79d0fc1d7e51011 Mon Sep 17 00:00:00 2001 From: Daniel Kimmich Date: Mon, 20 Feb 2023 18:31:17 +0100 Subject: [PATCH 1/2] chore: add build verification --- .github/workflows/verify-build.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/verify-build.yml diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml new file mode 100644 index 00000000..bd808464 --- /dev/null +++ b/.github/workflows/verify-build.yml @@ -0,0 +1,33 @@ +name: Verify build + +on: + push: + branches: + - main + 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 From 38e15d90ea10ee94a1d4f9e2ef6b8e5f48095d46 Mon Sep 17 00:00:00 2001 From: Daniel Kimmich Date: Mon, 20 Feb 2023 18:32:51 +0100 Subject: [PATCH 2/2] chore: add build verification --- .github/workflows/verify-build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml index bd808464..44561c4a 100644 --- a/.github/workflows/verify-build.yml +++ b/.github/workflows/verify-build.yml @@ -1,9 +1,7 @@ name: Verify build on: - push: - branches: - - main + workflow_dispatch: pull_request_target: types: [ opened, synchronize, reopened ]