Skip to content

Commit 95857d3

Browse files
authored
chore(ci): skip published native packages (#298)
1 parent 95ed9f1 commit 95857d3

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,5 @@ jobs:
9898
env:
9999
NPM_TAG: ${{ inputs.npm_tag }}
100100
run: |
101-
for package_dir in packages/rstack/npm/*; do
102-
pnpm publish "$package_dir" --tag "$NPM_TAG" --no-git-checks
103-
done
104-
101+
pnpm --dir packages/rstack/npm -r publish --tag "$NPM_TAG" --no-git-checks
105102
pnpm --filter './packages/*' -r stage publish --tag "$NPM_TAG" --no-git-checks

‎.gitignore‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ doc_build
1515
/target/
1616
/artifacts/
1717
/packages/rstack/*.node
18-
/packages/rstack/npm/
18+
19+
# Native packages are generated
20+
/packages/rstack/npm/*
21+
# Keep only the publish workspace manifest
22+
!/packages/rstack/npm/pnpm-workspace.yaml
1923

2024
# Temp files
2125
test-temp-*
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Isolate generated native packages from the root workspace while enabling recursive publish.
2+
packages:
3+
- '*'

0 commit comments

Comments
 (0)