Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/pr-diff-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,28 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- name: Checkout
uses: actions/checkout@v4
cache: 'pnpm'

- name: Install Dependencies
run: npm ci --include=dev
- name: Install dependencies
run: pnpm install

- name: Prepate report path
run: echo "SIZE_REPORT_OUTPUT=$RUNNER_TEMP/comment-${{ github.event.pull_request.number }}.md" >> $GITHUB_ENV

- name: Run size comparison
run: npm run size-report
run: pnpm size-report
env:
NODE_ENV: production
SKIP_GIT_TAG_RESOLUTION: true
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- name: Checkout
uses: actions/checkout@v4
cache: 'pnpm'

- name: Install dependencies
run: npm ci
run: pnpm install

- name: Build packages
run: npm run build
run: pnpm build

- name: Publish packages
run: |
Expand Down
24 changes: 15 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,34 @@ jobs:
name: 'Build & Test'
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.57.0-noble
image: mcr.microsoft.com/playwright:v1.58.2-noble
options: --user 1001:1001 # Run as non-root user for security

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'

- name: Checkout
uses: actions/checkout@v4

- name: Install Dependencies
run: npm ci --include=dev
- name: Install dependencies
run: pnpm install

- name: Build (Debug version)
run: npm run build:debug
run: pnpm build:debug

- name: 'Test: Alpine.js plugins (playwright)'
run: npm run test:playwright
run: pnpm test:playwright
env:
CI: true

- name: 'Test: Alpine.js plugins (vitest)'
run: npm run test:vitest
run: pnpm test:vitest
Loading