mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-10-13 19:30:46 +02:00
ci: publish npm and beta via OIDC trusted publishing (#430)
This commit is contained in:
1 parent
b13788d8ef
commit
f64a30040e
2 files changed
-4
No files matched your search
@@ -189,8 +189,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish npm package
|
- name: Publish npm package
|
||||||
working-directory: apps/cli
|
working-directory: apps/cli
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
if npm view "@keygraph/shannon@${{ needs.preflight.outputs.version }}" version 2>/dev/null; then
|
if npm view "@keygraph/shannon@${{ needs.preflight.outputs.version }}" version 2>/dev/null; then
|
||||||
echo "Version already published, skipping"
|
echo "Version already published, skipping"
|
||||||
|
|||||||
@@ -201,8 +201,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Publish npm package
|
- name: Publish npm package
|
||||||
working-directory: apps/cli
|
working-directory: apps/cli
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
if npm view "@keygraph/shannon@${{ needs.preflight.outputs.version }}" version 2>/dev/null; then
|
if npm view "@keygraph/shannon@${{ needs.preflight.outputs.version }}" version 2>/dev/null; then
|
||||||
echo "Version already published, skipping"
|
echo "Version already published, skipping"
|
||||||
|
|||||||
Reference in new issue
Block a user