From: aardizio Date: Fri, 19 Feb 2021 08:50:47 +0000 (+0100) Subject: Add publish step into one job X-Git-Tag: v2.0.0-beta.5~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4b631f45e142c507baa2f0c438322b0eed910af5;p=poolifier.git Add publish step into one job --- diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index d0597e52..cfdc67a7 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -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}} diff --git a/package.json b/package.json index 5e5562d0..4f254e2f 100644 --- a/package.json +++ b/package.json @@ -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": {