Skip to content

Merge pull request #1 from lightspeedwp/copilot/create-light-speed-pl… #5

Merge pull request #1 from lightspeedwp/copilot/create-light-speed-pl…

Merge pull request #1 from lightspeedwp/copilot/create-light-speed-pl… #5

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