Skip to content

Commit 0a2ea97

Browse files
committed
Fix: artifact in publish jobs
1 parent 41ac04e commit 0a2ea97

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/auto-update.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ run-name: Update npm dependencies
33

44
on:
55
schedule:
6-
- cron: '30 12 6,20 * *'
6+
- cron: '30 12 3,17 * *'
77
workflow_dispatch:
88

99
permissions:
@@ -46,7 +46,9 @@ jobs:
4646
- uses: actions/upload-artifact@v4
4747
with:
4848
name: build-artifacts
49-
path: dist
49+
path: |
50+
dist
51+
package*.json
5052
5153
publish-npm:
5254
needs: update-deps

.github/workflows/npm-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
- uses: actions/upload-artifact@v4
3030
with:
3131
name: build-artifacts
32-
path: dist
32+
path: |
33+
dist
34+
package*.json
3335
3436
publish-npm:
3537
needs: build

0 commit comments

Comments
 (0)