File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 11name : Compressed Size
22
3- on : [ pull_request ]
3+ on : [pull_request]
44
55jobs :
66 build :
7-
87 runs-on : ubuntu-latest
9-
108 steps :
119 - uses : actions/checkout@v4
1210 - uses : pnpm/action-setup@v4
1715 cache-dependency-path : ' **/pnpm-lock.yaml'
1816 - uses : preactjs/compressed-size-action@v2
1917 with :
20- pattern : " ./dist/**/*.{js,mjs}"
18+ pattern : ' ./dist/**/*.{js,mjs}'
Original file line number Diff line number Diff line change 11name : Publish Any Commit
2+
23on : [push, pull_request]
34
45jobs :
56 build :
67 runs-on : ubuntu-latest
7-
88 steps :
9- - name : Checkout code
10- uses : actions/checkout@v4
11-
9+ - uses : actions/checkout@v4
1210 - run : corepack enable
1311 - uses : actions/setup-node@v4
1412 with :
1513 node-version : 20
1614 cache : ' pnpm'
17-
18- - name : Install dependencies
19- run : pnpm install
20-
21- - name : Build
22- run : pnpm build
23-
15+ - run : pnpm install
16+ - run : pnpm build
2417 - run : pnpx pkg-pr-new publish './dist' --compact --template './examples/*'
You can’t perform that action at this time.
0 commit comments