diff --git a/.github/workflows/create-release-from-tag.yml b/.github/workflows/create-release-from-tag.yml index cc82fac..ced7c91 100644 --- a/.github/workflows/create-release-from-tag.yml +++ b/.github/workflows/create-release-from-tag.yml @@ -20,10 +20,12 @@ jobs: node-version: 18 registry-url: 'https://registry.npmjs.org' cache: npm + - name: Install latest npm version + run: npm install -g npm@latest - name: Install dependencies and build run: npm ci - name: Publish package - run: npm exec npm@npm/cli#provenance -- publish --provenance + run: npm publish --provenance env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}