diff --git a/.github/workflows/pl-api.yaml b/.github/workflows/pl-api.yaml index 9a3471163..8bf9663c0 100644 --- a/.github/workflows/pl-api.yaml +++ b/.github/workflows/pl-api.yaml @@ -21,10 +21,16 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: 'pnpm' - name: Install deps working-directory: . diff --git a/.github/workflows/pl-fe.yaml b/.github/workflows/pl-fe.yaml index 5162af9ee..509177755 100644 --- a/.github/workflows/pl-fe.yaml +++ b/.github/workflows/pl-fe.yaml @@ -21,10 +21,16 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: 'pnpm' - name: Install deps working-directory: . diff --git a/.github/workflows/pl-hooks.yaml b/.github/workflows/pl-hooks.yaml index ac9d2c239..8a86ae577 100644 --- a/.github/workflows/pl-hooks.yaml +++ b/.github/workflows/pl-hooks.yaml @@ -21,10 +21,16 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10 + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + cache: 'pnpm' - name: Install deps working-directory: .