Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 14 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ name: npm publish
# still linked to "*", and nothing may be published until they are restored.
on:
workflow_dispatch:
inputs:
exclude:
description: Package names to leave out of this release, separated by spaces
required: false
default: ""

permissions:
contents: read
Expand All @@ -23,6 +28,9 @@ jobs:
# visibility gate, which waits up to 15 min per newly-created package name
# (already-published ones answer on the first try and cost nothing).
timeout-minutes: 60
env:
# Read by preflight-publish.mjs and by each package list below.
PUBLISH_EXCLUDE: ${{ inputs.exclude }}
steps:
- name: Checkout
uses: actions/checkout@v7
Expand Down Expand Up @@ -91,8 +99,9 @@ jobs:
let input = "";
process.stdin.on("data", chunk => input += chunk);
process.stdin.on("end", () => {
const exclude = new Set((process.env.PUBLISH_EXCLUDE ?? "").split(/\s+/).filter(Boolean));
for (const workspace of JSON.parse(input)) {
if (!workspace.private) console.log(workspace.name);
if (!workspace.private && !exclude.has(workspace.name)) console.log(workspace.name);
}
});
'
Expand Down Expand Up @@ -135,8 +144,9 @@ jobs:
let input = "";
process.stdin.on("data", chunk => input += chunk);
process.stdin.on("end", () => {
const exclude = new Set((process.env.PUBLISH_EXCLUDE ?? "").split(/\s+/).filter(Boolean));
for (const workspace of JSON.parse(input)) {
if (!workspace.private) console.log(workspace.name);
if (!workspace.private && !exclude.has(workspace.name)) console.log(workspace.name);
}
});
'
Expand Down Expand Up @@ -189,8 +199,9 @@ jobs:
let input = "";
process.stdin.on("data", chunk => input += chunk);
process.stdin.on("end", () => {
const exclude = new Set((process.env.PUBLISH_EXCLUDE ?? "").split(/\s+/).filter(Boolean));
for (const workspace of JSON.parse(input)) {
if (!workspace.private) console.log(workspace.name);
if (!workspace.private && !exclude.has(workspace.name)) console.log(workspace.name);
}
});
'
Expand Down
2 changes: 1 addition & 1 deletion js-sdk-core
Submodule js-sdk-core updated 1 files
+1 −1 package.json
2 changes: 1 addition & 1 deletion js-sdk-react
Submodule js-sdk-react updated 1 files
+2 −2 package.json
2 changes: 1 addition & 1 deletion js-vectorstyle
Submodule js-vectorstyle updated 1 files
+2 −2 package.json
Loading
Loading