diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3067568..dc6b555 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,8 +18,8 @@ jobs: git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - run: npm install - run: npm install release-it + - run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}" > .npmrc + - run: npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc - - run: npm run release + NPM_TOKEN: ${{ secrets.NPM_TOKEN}}