Add publish step into one job
authoraardizio <alessandroardizio94@gmail.com>
Fri, 19 Feb 2021 08:50:47 +0000 (09:50 +0100)
committeraardizio <alessandroardizio94@gmail.com>
Fri, 19 Feb 2021 08:50:47 +0000 (09:50 +0100)
.github/workflows/npmpublish.yml
package.json

index d0597e52e56d82e013018d94bb03d6203124c3c6..cfdc67a712004944e5f172a858a2599436271388 100644 (file)
@@ -21,14 +21,6 @@ jobs:
       - run: npm run lint
       - run: npm run coverage
 
-  publish-npm:
-    needs: build
-    runs-on: ubuntu-latest
-
-    steps:
-      - name: Checkout
-        uses: actions/checkout@v2
-
       - name: Setup Node
         uses: actions/setup-node@v2
         with:
@@ -39,6 +31,6 @@ jobs:
         run: npm ci --production
 
       - name: Publish
-        run: npm publish
+        run: npm publish --tags
         env:
           NODE_AUTH_TOKEN: ${{secrets.npm_token}}
index 5e5562d035b3c37f34d6f2c2c89b7437b05d5ed8..4f254e2ff8f5ce105ac48dc51fb2f1b44182a097 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "poolifier",
-  "version": "v2.0.0-beta.4",
+  "version": "v2.0.0-beta.5",
   "description": "A fast, easy to use Node.js Worker Thread Pool and Cluster Pool implementation",
   "main": "lib/index.js",
   "scripts": {