diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 305d90d..9ad49e4 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -27,8 +27,10 @@ jobs: path: ~/.pnpm-store key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} - - name: '[pnpm] download pnpm binary' - run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 + - name: '[pnpm] Install pnpm' + uses: pnpm/action-setup@v2.0.1 + with: + version: 6.15.1 - name: '[pnpm] configure SINCE git ref' run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ddb0642..c487f65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,8 +25,10 @@ jobs: path: ~/.pnpm-store key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} - - name: '[pnpm] download pnpm binary' - run: curl -f https://get.pnpm.io/v6.14.js | node - add --global pnpm@6 + - name: '[pnpm] Install pnpm' + uses: pnpm/action-setup@v2.0.1 + with: + version: 6.15.1 - name: '[pnpm] configure SINCE git ref' run: | @@ -72,4 +74,4 @@ jobs: # - First Change # - Second Change # draft: false - # prerelease: false \ No newline at end of file + # prerelease: false