From 89c13edaa7f799c6da2959972b8bd30b9d3397df Mon Sep 17 00:00:00 2001 From: rdubois Date: Fri, 19 Jul 2024 12:19:48 +0200 Subject: [PATCH] feat(gha): build base theme WEB-4112 --- .github/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..4b382079 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +name: Build +on: + workflow_dispatch: + +jobs: + install-deps: + runs-on: + group: self-hosted + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y nodejs npm + sudo npm install -g pnpm + - name: Build theme + run: | + pnpm --theme=base build + - name: Archive theme + uses: actions/upload-artifact@v4.3.4 + with: + name: basetheme + path: | + base/theme.zip +