diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a98a3c..87b8646 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 }}