diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 821fdd6d..988582c4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 + registry-url: 'https://registry.npmjs.org' - run: npm install - run: npm run checked @@ -79,8 +80,14 @@ jobs: ${{ steps.changelog.outputs.changelog }} + # - name: 📦 svgtofont publish to NPM + # uses: JS-DevTools/npm-publish@v1 + # with: + # token: ${{ secrets.NPM_TOKEN }} + # package: ./package.json + - name: 📦 svgtofont publish to NPM - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.NPM_TOKEN }} - package: ./package.json \ No newline at end of file + run: npm publish + continue-on-error: true + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file