From 083f570351f209dcc0195a5a1d64f541946db303 Mon Sep 17 00:00:00 2001 From: seven Date: Wed, 18 Sep 2024 18:33:47 +0800 Subject: [PATCH] fix pipeline Signed-off-by: seven --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a98a3c9..87b86469 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,10 @@ jobs: uses: actions/checkout@v4 if: matrix.os == 'ubuntu-latest' - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: 'npm' + registry-url: 'https://registry.npmjs.org' - name: Install dependencies run: npm ci - run: npm run lint:check @@ -52,6 +52,6 @@ jobs: # ${{ steps.changelog.outputs.changelog }} - name: Publish package on NPM 📦 # if: steps.tag_release.outputs.successful - run: npm publish --access public + run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}