diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d331374..c359c18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: release: runs-on: ubuntu-latest + steps: - name: Checkout code uses: actions/checkout@v3 @@ -15,14 +16,16 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 18 - cache: 'npm' + node-version: '18' + + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies - run: npm ci + run: pnpm install - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm run release + run: pnpm release