Try to fix release publishing on registry
[poolifier.git] / .github / workflows / npmpublish.yml
index 99e81f18b20928f3d7bb0800e6abcc3c0c678baa..d6bbad9d78b5b79e3a374786b25d9ffe0f7e0577 100644 (file)
@@ -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
@@ -58,10 +58,10 @@ jobs:
         if: ${{ contains(steps.package-version.outputs.version, '-') == false }}
         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 }}