diff --git a/action.yml b/action.yml index 650d50c..80fae3c 100644 --- a/action.yml +++ b/action.yml @@ -45,21 +45,16 @@ runs: using: composite steps: - - name: Install pnpm - uses: pnpm/action-setup@v6 - with: - version: 11.9.0 - - name: Set Node.js uses: actions/setup-node@v7 with: node-version: lts/* package-manager-cache: false - - name: Install dependencies + - name: Install action dependencies shell: bash working-directory: ${{ github.action_path }} - run: pnpm install --frozen-lockfile + run: npx --yes pnpm@11.9.0 install --frozen-lockfile - name: Generate GitHub PR Stats id: generate @@ -70,7 +65,7 @@ runs: INPUT_TOKEN: ${{ inputs.token }} INPUT_OUTPUT: ${{ inputs.output }} INPUT_MAX-ROWS: ${{ inputs.max-rows }} - run: pnpm exec tsx ./src/index.ts + run: npx --yes pnpm@11.9.0 exec tsx ./src/index.ts branding: icon: git-pull-request