File tree Expand file tree Collapse file tree 2 files changed +29
-4
lines changed
Expand file tree Collapse file tree 2 files changed +29
-4
lines changed Original file line number Diff line number Diff line change 2727 uses : actions/cache@v4
2828 with :
2929 path : node_modules
30- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
30+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
3131 restore-keys : |
3232 node-modules-
3333
5050 uses : actions/cache@v4
5151 with :
5252 path : node_modules
53- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
53+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
5454 restore-keys : |
5555 node-modules-
5656
7373 uses : actions/cache@v4
7474 with :
7575 path : node_modules
76- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
76+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
7777 restore-keys : |
7878 node-modules-
7979
8282
8383 - name : Unit Test
8484 run : bun test
85+
86+ publish-commit :
87+ runs-on : ubuntu-latest
88+ steps :
89+ - uses : actions/checkout@v4
90+
91+ - name : Install Bun
92+ uses : oven-sh/setup-bun@v2
93+
94+ - name : Use cached node_modules
95+ uses : actions/cache@v4
96+ with :
97+ path : node_modules
98+ key : node-modules-${{ hashFiles('**/bun.lock') }}
99+ restore-keys : |
100+ node-modules-
101+
102+ - name : Install Dependencies
103+ run : bun install
104+
105+ - name : Build
106+ run : bun run build
107+
108+ - name : Publish Commit
109+ run : bunx pkg-pr-new publish
Original file line number Diff line number Diff line change 2626 uses : actions/cache@v4
2727 with :
2828 path : node_modules
29- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
29+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
3030 restore-keys : |
3131 node-modules-
3232
You can’t perform that action at this time.
0 commit comments