Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Add Spacer section #108

Add Spacer section

Add Spacer section #108

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
lint-and-build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linters
run: npm run lint
- name: Build project
run: npm run build
- name: Check for build artifacts
run: |
if [ ! -d "assets" ]; then echo "Assets directory not found"; exit 1; fi
if [ ! -d "config" ]; then echo "Config directory not found"; exit 1; fi
if [ ! -d "layout" ]; then echo "Layout directory not found"; exit 1; fi
echo "All build artifacts created successfully"
- name: Upload build artifacts
uses: actions/upload-artifact@v4
if: github.ref == 'refs/heads/main'
with:
name: theme-build-${{ matrix.node-version }}
path: |
assets/
config/
layout/
sections/
snippets/
templates/
retention-days: 7