X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fnpmpublish.yml;h=d6bbad9d78b5b79e3a374786b25d9ffe0f7e0577;hb=4f4ae1cb3c33228a023ea599c2648268d15e6c0f;hp=874d8a327048c29a3c9114a0227357ce6c205a08;hpb=0594c8f64353fa2a0818690e0db3e68b614073c1;p=poolifier.git diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 874d8a32..d6bbad9d 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -15,7 +15,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: '16.x' - name: Install run: npm ci @@ -44,7 +44,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: '16.x' registry-url: https://registry.npmjs.org/ - name: Read package.json version @@ -56,14 +56,12 @@ jobs: - name: Publish Release if: ${{ contains(steps.package-version.outputs.version, '-') == false }} - run: | - npm login - npm publish + run: npm publish env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish Beta if: ${{ contains(steps.package-version.outputs.version, 'beta') }} run: npm publish --tag beta env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}