From 0ecec7bcf8a6ec8ac53926866b40003f3e870ec0 Mon Sep 17 00:00:00 2001 From: Marc Klingen Date: Wed, 27 Nov 2024 18:50:54 +0100 Subject: [PATCH] feat: add ci pipeline (#1020) --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..7c8eef53f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: "CI" + +on: + pull_request: + merge_group: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - uses: pnpm/action-setup@v4 + id: pnpm-install + with: + version: 9.5.0 + run_install: false + + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - run: pnpm install + + - name: Build next.js app + # change this if your site requires a custom build command + run: pnpm build