File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,23 +18,28 @@ jobs:
1818 runs-on : ubuntu-latest
1919
2020 steps :
21+ - name : Checkout
22+ uses : actions/checkout@v4
23+
24+ - name : Install pnpm
25+ uses : pnpm/action-setup@v4
26+ with :
27+ version : latest
28+
2129 - name : Setup Node.js
2230 uses : actions/setup-node@v4
2331 with :
2432 node-version : ' 24'
25- registry-url : ' https://registry.npmjs.org'
26-
27- - name : Checkout
28- uses : actions/checkout@v4
33+ cache : ' pnpm'
2934
30- - name : Install Dependencies
31- run : npm ci --include=dev
35+ - name : Install dependencies
36+ run : pnpm install
3237
3338 - name : Prepate report path
3439 run : echo "SIZE_REPORT_OUTPUT=$RUNNER_TEMP/comment-${{ github.event.pull_request.number }}.md" >> $GITHUB_ENV
3540
3641 - name : Run size comparison
37- run : npm run size-report
42+ run : pnpm size-report
3843 env :
3944 NODE_ENV : production
4045 SKIP_GIT_TAG_RESOLUTION : true
Original file line number Diff line number Diff line change @@ -16,20 +16,26 @@ jobs:
1616 runs-on : ubuntu-latest
1717
1818 steps :
19+ - name : Checkout
20+ uses : actions/checkout@v4
21+
22+ - name : Install pnpm
23+ uses : pnpm/action-setup@v4
24+ with :
25+ version : latest
26+
1927 - name : Setup Node.js
2028 uses : actions/setup-node@v4
2129 with :
2230 node-version : ' 24'
2331 registry-url : ' https://registry.npmjs.org'
24-
25- - name : Checkout
26- uses : actions/checkout@v4
32+ cache : ' pnpm'
2733
2834 - name : Install dependencies
29- run : npm ci
35+ run : pnpm install
3036
3137 - name : Build packages
32- run : npm run build
38+ run : pnpm build
3339
3440 - name : Publish packages
3541 run : |
Original file line number Diff line number Diff line change @@ -11,28 +11,34 @@ jobs:
1111 name : ' Build & Test'
1212 runs-on : ubuntu-latest
1313 container :
14- image : mcr.microsoft.com/playwright:v1.57.0 -noble
14+ image : mcr.microsoft.com/playwright:v1.58.2 -noble
1515 options : --user 1001:1001 # Run as non-root user for security
1616
1717 steps :
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+ with :
24+ version : latest
25+
1826 - name : Setup Node.js
1927 uses : actions/setup-node@v4
2028 with :
2129 node-version : ' 24'
30+ cache : ' pnpm'
2231
23- - name : Checkout
24- uses : actions/checkout@v4
25-
26- - name : Install Dependencies
27- run : npm ci --include=dev
32+ - name : Install dependencies
33+ run : pnpm install
2834
2935 - name : Build (Debug version)
30- run : npm run build:debug
36+ run : pnpm build:debug
3137
3238 - name : ' Test: Alpine.js plugins (playwright)'
33- run : npm run test:playwright
39+ run : pnpm test:playwright
3440 env :
3541 CI : true
3642
3743 - name : ' Test: Alpine.js plugins (vitest)'
38- run : npm run test:vitest
44+ run : pnpm test:vitest
You can’t perform that action at this time.
0 commit comments