Skip to content

Update workflow for bundle size comparison #105

Update workflow for bundle size comparison

Update workflow for bundle size comparison #105

Workflow file for this run

name: Build & Test
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "**.js"
- "**.ts"
- "**.json"
jobs:
main:
if: ${{ !github.event.pull_request.draft }}
name: "Build & Test"
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.57.0-noble
options: --user 1001:1001 # Run as non-root user for security
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: npm ci
- name: Build (Debug version)
run: npm run build:debug
- name: "Test: Alpine.js plugins (playwright)"
run: npm run test:playwright
env:
CI: true
- name: "Test: Alpine.js plugins (vitest)"
run: npm run test:vitest