File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 27
27
uses : actions/cache@v4
28
28
with :
29
29
path : node_modules
30
- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
30
+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
31
31
restore-keys : |
32
32
node-modules-
33
33
50
50
uses : actions/cache@v4
51
51
with :
52
52
path : node_modules
53
- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
53
+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
54
54
restore-keys : |
55
55
node-modules-
56
56
73
73
uses : actions/cache@v4
74
74
with :
75
75
path : node_modules
76
- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
76
+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
77
77
restore-keys : |
78
78
node-modules-
79
79
82
82
83
83
- name : Unit Test
84
84
run : bun test
85
+
86
+ publish-commit :
87
+ runs-on : ubuntu-latest
88
+ steps :
89
+ - uses : actions/checkout@v4
90
+ - name : Install Bun
91
+ uses : oven-sh/setup-bun@v2
92
+ - name : Use cached node_modules
93
+ uses : actions/cache@v4
94
+ with :
95
+ path : node_modules
96
+ key : node-modules-${{ hashFiles('**/bun.lock') }}
97
+ restore-keys : |
98
+ node-modules-
99
+ - name : Install Dependencies
100
+ run : bun install
101
+ - name : Build
102
+ run : bun run build
103
+ - name : Publish Commit
104
+ run : bunx pkg-pr-new publish
Original file line number Diff line number Diff line change 22
22
uses : actions/cache@v4
23
23
with :
24
24
path : node_modules
25
- key : node-modules-${{ hashFiles('**/bun.lockb ') }}
25
+ key : node-modules-${{ hashFiles('**/bun.lock ') }}
26
26
restore-keys : |
27
27
node-modules-
28
28
You can’t perform that action at this time.
0 commit comments