Skip to content

Commit

Permalink
feat(gha): build base theme
Browse files Browse the repository at this point in the history
WEB-4112
  • Loading branch information
remdub committed Jul 19, 2024
1 parent ee4370a commit 311a9b9
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dev dependencies
run: |
pnpm install
- name: Build theme
run: |
pnpm --theme=base build
- name: Unzip theme
run: |
unzip base/theme.zip -d tmp/theme
- name: Archive theme
uses: actions/[email protected]
with:
name: theme.zip
path: |
tmp/theme

0 comments on commit 311a9b9

Please sign in to comment.