From: Jérôme Benoit Date: Thu, 6 Jan 2022 16:32:55 +0000 (+0100) Subject: Try to fix release publishing on registry X-Git-Tag: v2.2.0 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4f4ae1cb3c33228a023ea599c2648268d15e6c0f;p=poolifier.git Try to fix release publishing on registry Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbae7131..eabce8d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: ['12.x', '14.x', '16.x'] steps: - name: Checkout diff --git a/.github/workflows/generate-typedoc.yml b/.github/workflows/generate-typedoc.yml index 0966eb27..5fa4498c 100644 --- a/.github/workflows/generate-typedoc.yml +++ b/.github/workflows/generate-typedoc.yml @@ -17,7 +17,7 @@ jobs: - name: Set node version to 16 uses: actions/setup-node@v2 with: - node-version: 16 + node-version: '16.x' - name: Generate TypeDoc run: | diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 29b40075..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: 16 + 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: 16 + node-version: '16.x' registry-url: https://registry.npmjs.org/ - name: Read package.json version @@ -56,9 +56,7 @@ 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 }} diff --git a/README.md b/README.md index 6348511f..b907edf9 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Please consult our general guidelines · Usage · - Node versions + Node versions · API ·