From 4b631f45e142c507baa2f0c438322b0eed910af5 Mon Sep 17 00:00:00 2001 From: aardizio Date: Fri, 19 Feb 2021 09:50:47 +0100 Subject: [PATCH] Add publish step into one job --- .github/workflows/npmpublish.yml | 10 +--------- package.json | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) 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": { -- 2.34.1