Skip to content

Commit 85853e0

Browse files
authored
Use correct workflow for npm publishing (#1531)
* fix: ensure npm packages are set to public access after publish The --access flag only applies on initial publish. For packages previously published as restricted, run npm access public after publish to correct the access level. Tested by: - Created a test scoped package (@elchiapp/test) and ran the publish-library-to-npm action locally using act (nektos/act) inside a Docker container (catthehacker/ubuntu:act-latest) - Confirmed npm publish --access public sets access correctly on initial publish - Verified the package appeared as public on npmjs.com - Unpublished the test package after verification Made-with: Cursor * infra: use local publish-library-to-npm action instead of oss-actions Switch all 13 workflows from tetherto/oss-actions@v1.1.0 to the local ./.github/actions/publish-library-to-npm action so the ACCESS="public" fix takes effect immediately without waiting for an oss-actions release. Made-with: Cursor
1 parent 85368d0 commit 85853e0

13 files changed

Lines changed: 14 additions & 14 deletions

.github/workflows/on-merge-lib-infer-diffusion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
216216
- name: Publish to NPM Package Registry
217217
id: publish
218-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
218+
uses: ./.github/actions/publish-library-to-npm
219219
with:
220220
secret-token: ${{ secrets.NPM_TOKEN }}
221221
tag: "latest"

.github/workflows/on-merge-ocr-onnx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ jobs:
207207

208208
- name: Publish to NPM Package Registry
209209
id: publish
210-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
210+
uses: ./.github/actions/publish-library-to-npm
211211
with:
212212
secret-token: ${{ secrets.NPM_TOKEN }}
213213
tag: "latest"

.github/workflows/on-merge-qvac-lib-decoder-audio.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182

183183
- name: Publish to NPM Package Registry
184184
id: publish
185-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
185+
uses: ./.github/actions/publish-library-to-npm
186186
with:
187187
secret-token: ${{ secrets.NPM_TOKEN }}
188188
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-llamacpp-embed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183

184184
- name: Publish to NPM Package Registry
185185
id: publish
186-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
186+
uses: ./.github/actions/publish-library-to-npm
187187
with:
188188
secret-token: ${{ secrets.NPM_TOKEN }}
189189
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-llamacpp-llm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ jobs:
216216
217217
- name: Publish to NPM Package Registry
218218
id: publish
219-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
219+
uses: ./.github/actions/publish-library-to-npm
220220
with:
221221
secret-token: ${{ secrets.NPM_TOKEN }}
222222
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-nmtcpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206

207207
- name: Publish to NPM Package Registry
208208
id: publish
209-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
209+
uses: ./.github/actions/publish-library-to-npm
210210
with:
211211
secret-token: ${{ secrets.NPM_TOKEN }}
212212
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-onnx-tts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181

182182
- name: Publish to NPM Package Registry
183183
id: publish
184-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
184+
uses: ./.github/actions/publish-library-to-npm
185185
with:
186186
secret-token: ${{ secrets.NPM_TOKEN }}
187187
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-onnx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ jobs:
184184

185185
- name: Publish to NPM Package Registry
186186
id: publish
187-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
187+
uses: ./.github/actions/publish-library-to-npm
188188
with:
189189
secret-token: ${{ secrets.NPM_TOKEN }}
190190
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-parakeet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209

210210
- name: Publish to NPM Package Registry
211211
id: publish
212-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
212+
uses: ./.github/actions/publish-library-to-npm
213213
with:
214214
secret-token: ${{ secrets.NPM_TOKEN }}
215215
tag: "latest"

.github/workflows/on-merge-qvac-lib-infer-whispercpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219

220220
- name: Publish to NPM Package Registry
221221
id: publish
222-
uses: tetherto/oss-actions/.github/actions/publish-library-to-npm@v1.1.0
222+
uses: ./.github/actions/publish-library-to-npm
223223
with:
224224
secret-token: ${{ secrets.NPM_TOKEN }}
225225
tag: "latest"

0 commit comments

Comments
 (0)