From a594d647d87b659e5e668fec1d87df6a6107a840 Mon Sep 17 00:00:00 2001 From: Neil Boyd Date: Thu, 8 Aug 2024 05:20:59 +0000 Subject: [PATCH] put back publish step, but ignore error --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 63b2aae..89f4e94 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,9 +21,10 @@ jobs: # with: # record: false # # cache-key: node-v${{ matrix.node }}-on-${{ runner.os }}-hash-${{ hashFiles('package-lock.json') }} - # - name: publish - # env: - # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - # run: | - # npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}" - # npm publish + - name: publish + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: | + npm config set '//registry.npmjs.org/:_authToken' "${{ secrets.NPM_TOKEN }}" + npm publish + continue-on-error: true