Skip to content

Commit 7f1dd53

Browse files
authored
ci: fix deploy api package (#448)
Signed-off-by: Philippe Martin <[email protected]>
1 parent 07f42b2 commit 7f1dd53

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/next-build.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,20 @@ jobs:
150150
subject-digest: ${{ steps.push-to-ghcr.outputs.digest }}
151151
push-to-registry: true
152152

153+
publish-api-package:
154+
name: Publish api package
155+
if: always()
156+
runs-on: ubuntu-24.04
157+
steps:
158+
- uses: actions/checkout@v5
159+
with:
160+
fetch-depth: 0
161+
162+
- uses: pnpm/action-setup@v4
163+
name: Install pnpm
164+
with:
165+
run_install: false
166+
153167
- name: Set api package version
154168
run: |
155169
PACKAGE_VERSION=$(jq -r '.version' packages/api/package.json)
@@ -162,4 +176,4 @@ jobs:
162176
- name: publish api package
163177
run: pnpm publish
164178
env:
165-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
179+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)