diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5ac115c7..d84962a0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,12 +15,6 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - uses: pnpm/action-setup@v2 name: Install pnpm id: pnpm-install @@ -28,6 +22,12 @@ jobs: version: 'latest' run_install: false + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + - name: Get pnpm store directory id: pnpm-cache shell: bash diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 98a81ae1..bde8455d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,18 +24,18 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'pnpm' - - uses: pnpm/action-setup@v2 name: Install pnpm id: pnpm-install with: version: 'latest' run_install: false + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' - name: Get pnpm store directory id: pnpm-cache