Skip to content

Add LightSpeed WordPress block plugin starter repo scaffold #3

Add LightSpeed WordPress block plugin starter repo scaffold

Add LightSpeed WordPress block plugin starter repo scaffold #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
validate:
name: Validate plugin
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install Node dependencies
run: npm ci
- name: Validate plugin structure
run: npm run plugin:validate
- name: Validate schema
run: npm run schema:validate
- name: Security scan
run: npm run security:scan
- name: Lint JS and CSS
run: npm run lint