Skip to content

Commit 0dc25fd

Browse files
committed
chore: temp publish
1 parent a6d5d13 commit 0dc25fd

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

.github/workflows/publish.reusable.yml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -60,28 +60,13 @@ jobs:
6060
env:
6161
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} #
6262

63-
- name: Temp LS packages
64-
run: |
65-
cd packages
66-
ls @postgrestools/
67-
68-
- name: Temp publish
69-
if: inputs.is-prerelease != 'true'
70-
run: |
71-
npm publish "@postgrestools/postgrestools_aarch64-apple-darwin" --tag latest --access public --provenance
72-
npm publish "@postgrestools/postgrestools_aarch64-windows-msvc" --tag latest --access public --provenance
73-
npm publish "@postgrestools/postgrestools_aarch64-linux-gnu" --tag latest --access public --provenance
74-
npm publish "@postgrestools/postgrestools_x86_64-apple-darwin" --tag latest --access public --provenance
75-
npm publish "@postgrestools/postgrestools_x86_64-windows-msvc" --tag latest --access public --provenance
76-
npm publish "@postgrestools/postgrestools_x86_64-linux-gnu" --tag latest --access public --provenance
77-
env:
78-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
79-
8063
- name: Publish npm packages as latest
8164
if: inputs.is-prerelease != 'true'
8265
run: |
8366
for package in packages/@postgrestools/*; do
84-
npm publish "$package" --tag latest --access public --provenance
67+
if [[ "$package_name" != "backend-jsonrpc" && "$package_name" != "postgrestools" ]]; then
68+
npm publish "$package" --tag latest --access public --provenance
69+
fi
8570
done
8671
env:
8772
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)