File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 for entry in "${PACKAGES[@]}"; do
6868 IFS=":" read -r name path <<< "$entry"
6969 echo "Publishing $name..."
70- (pnpm --filter="$name" publish --no-git-checks --access public --tag dev && echo "✅ Published $name") || echo "❌ Failed to publish $name"
70+ (pnpm --filter="$name" publish --no-git-checks --provenance -- access public --tag dev && echo "✅ Published $name") || echo "❌ Failed to publish $name"
7171 done
7272
7373 - name : Deprecate previous development versions
Original file line number Diff line number Diff line change 88 required : true
99 type : string
1010
11+ permissions :
12+ id-token : write
13+ contents : read
14+
1115jobs :
1216 publish :
1317 name : Publish latest builds
1418 runs-on : ubuntu-latest
19+ timeout-minutes : 10
1520 steps :
1621 - uses : pnpm/action-setup@v4
1722 with :
5661 run : pnpm dlx turbo build --filter='./packages/*'
5762
5863 - name : Publish packages
59- env :
60- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
6164 run : |
6265 PACKAGES=(
6366 "commandkit:packages/commandkit"
Original file line number Diff line number Diff line change 1212 publish :
1313 name : Publish release candidate builds
1414 runs-on : ubuntu-latest
15+ timeout-minutes : 10
1516 steps :
1617 - uses : pnpm/action-setup@v4
1718 with :
7071 "@commandkit/ai:packages/ai"
7172 "@commandkit/queue:packages/queue"
7273 "@commandkit/tasks:packages/tasks"
74+ "@commandkit/workflow:packages/workflow"
7375 )
7476
7577 for entry in "${PACKAGES[@]}"; do
8183 if npm view "$name@$VERSION" version >/dev/null 2>&1; then
8284 echo "📦 $name@$VERSION already exists on npm, skipping..."
8385 else
84- if pnpm --filter="$name" publish --no-git-checks --access public --tag next; then
86+ if pnpm --filter="$name" publish --no-git-checks --provenance -- access public --tag next; then
8587 echo "✅ Published $name@$VERSION under 'next' tag"
8688 else
8789 if npm view "$name@$VERSION" version >/dev/null 2>&1; then
@@ -109,6 +111,7 @@ jobs:
109111 "@commandkit/ai"
110112 "@commandkit/queue"
111113 "@commandkit/tasks"
114+ "@commandkit/workflow"
112115 )
113116
114117 for pkg in "${PACKAGES[@]}"; do
You can’t perform that action at this time.
0 commit comments