diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ad5bdcbd..89fdb90f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,10 @@ jobs: fetch-depth: '0' - name: Install dependencies - uses: bahmutov/npm-install@v1 + uses: pnpm/action-setup@v2.2.4 + with: + version: latest + run_install: true - name: Type check run: pnpm run type diff --git a/.github/workflows/pull-request-check.yml b/.github/workflows/pull-request-check.yml index 49f0d193b..02d6185ee 100644 --- a/.github/workflows/pull-request-check.yml +++ b/.github/workflows/pull-request-check.yml @@ -20,7 +20,10 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies - uses: bahmutov/npm-install@v1 + uses: pnpm/action-setup@v2.2.4 + with: + version: latest + run_install: true - name: Type check run: pnpm run type