From aaed14d341c9fb8f7a45a13b2bcb66b952d41d05 Mon Sep 17 00:00:00 2001 From: Eyk Rehbein Date: Fri, 16 Feb 2024 10:13:40 +0100 Subject: [PATCH] add PR tests --- .github/workflows/check-pr.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/check-pr.yml diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml new file mode 100644 index 0000000..1754c13 --- /dev/null +++ b/.github/workflows/check-pr.yml @@ -0,0 +1,18 @@ +name: '[PR] Tests pass and build is successful' + +on: + workflow_dispatch: + pull_request: + +jobs: + check-pr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v4 + with: + node-version: 18.x + cache: 'pnpm' + - run: pnpm install --frozen-lockfile + - run: pnpm test + - run: pnpm build