diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 2754d5e3..01df03de 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -18,13 +18,19 @@ jobs: with: fetch-depth: 0 + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: "lts/*" + cache: "pnpm" - name: Install dependencies - run: npm ci + run: pnpm install --frozen-lockfile - name: Configure Git User run: | @@ -34,4 +40,4 @@ jobs: - name: Run release-it env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npx release-it --ci + run: pnpm exec release-it --ci