diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 6ccb347..1d82d70 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -26,12 +26,9 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: 'pnpm' - - name: Setup npmrc - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc - - name: Install dependencies run: pnpm install @@ -51,3 +48,4 @@ jobs: publish: pnpm publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}