build: fix beta version publication
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 29 Aug 2023 14:48:51 +0000 (16:48 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 29 Aug 2023 14:48:51 +0000 (16:48 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/dependabot.yml
.github/workflows/npmpublish.yml

index 11bc761daefe2a1f940ec391f791961b1797d4de..b9ed2479491deeaef0bb7d9393341d3e13e8adeb 100644 (file)
@@ -152,14 +152,3 @@ updates:
       - 'pioardi'
       - 'jerome-benoit'
     versioning-strategy: increase
-  - package-ecosystem: 'npm'
-    directory: '/examples/typescript/websocket-server-pool/ws-cluste'
-    schedule:
-      interval: 'daily'
-    labels:
-      - 'dependencies'
-      - 'examples'
-    reviewers:
-      - 'pioardi'
-      - 'jerome-benoit'
-    versioning-strategy: increase
index 1b6824797ed8522c35ae787b3ea4902a49422dc8..1fa447869ab27f347e5e038c9b1822a641ee3d4f 100644 (file)
@@ -71,7 +71,7 @@ jobs:
           NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
       - name: Publish Pre-Release
-        if: ${{ contains(steps.package-version.outputs.version, '-') == true }}
+        if: ${{ contains(steps.package-version.outputs.version, '-') == true && contains(steps.package-version.outputs.version, '-beta') == false }}
         run: pnpm publish --no-git-checks --tag next
         env:
           NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}