Skip to content

Merge pull request #1643 from LKuemmel/client_fault_state #2

Merge pull request #1643 from LKuemmel/client_fault_state

Merge pull request #1643 from LKuemmel/client_fault_state #2

name: Build Display Theme Cards
on:
push:
paths:
- packages/modules/display_themes/cards/source/**
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js (v20)
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: packages/modules/display_themes/cards/source/package-lock.json
- name: Install Dependencies and Build
run: |
cd packages/modules/display_themes/cards/source
npm install
npm run build --if-present
- name: Commit and Push Changes
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git add packages/modules/display_themes/cards/web
git commit -m "Build Display Theme: Cards"
git push