Skip to content

Commit 2cbf49a

Browse files
meorphisstainless-app[bot]
meorphis
authored andcommitted
chore(internal): update release workflows
1 parent e905c95 commit 2cbf49a

File tree

3 files changed

+5
-12
lines changed

3 files changed

+5
-12
lines changed

.github/workflows/publish-jsr.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
# This workflow is triggered when a GitHub release is created.
2-
# It can also be run manually to re-publish to JSR in case it failed for some reason.
3-
# You can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-jsr.yml
1+
# workflow for re-running publishing to JSR in case it fails for some reason
2+
# you can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-jsr.yml
43
name: Publish JSR
54
on:
65
workflow_dispatch:
76

8-
release:
9-
types: [published]
10-
117
jobs:
128
publish:
139
name: publish

.github/workflows/publish-npm.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
1-
# This workflow is triggered when a GitHub release is created.
2-
# It can also be run manually to re-publish to NPM in case it failed for some reason.
3-
# You can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-npm.yml
1+
# workflow for re-running publishing to NPM in case it fails for some reason
2+
# you can run this workflow by navigating to https://www.github.com/openai/openai-node/actions/workflows/publish-npm.yml
43
name: Publish NPM
54
on:
65
workflow_dispatch:
76

8-
release:
9-
types: [published]
10-
117
jobs:
128
publish:
139
name: publish

.github/workflows/release-doctor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ jobs:
1919
run: |
2020
bash ./bin/check-release-environment
2121
env:
22+
STAINLESS_API_KEY: ${{ secrets.STAINLESS_API_KEY }}
2223
NPM_TOKEN: ${{ secrets.OPENAI_NPM_TOKEN || secrets.NPM_TOKEN }}
2324

0 commit comments

Comments
 (0)