From 0b10d4ba4cd3b463d7ceaa32312bc53a62c386d3 Mon Sep 17 00:00:00 2001 From: mxgic1337 <60188749+mxgic1337@users.noreply.github.com> Date: Wed, 8 Jan 2025 10:30:24 +0100 Subject: [PATCH] ci: added build check --- .github/workflows/build-check.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build-check.yml diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml new file mode 100644 index 0000000..819aea3 --- /dev/null +++ b/.github/workflows/build-check.yml @@ -0,0 +1,30 @@ +name: Build check +on: + push: + branches: + - '*' + - '*/*' + - '**' + - '!main' + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: false + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22.x' + cache: 'pnpm' + - name: Install dependencies + run: pnpm install + - name: Build extension + run: pnpm run build \ No newline at end of file