diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7103121..1f03d14 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -18,17 +18,16 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Install pnpm + uses: pnpm/action-setup@v3 + with: + version: 6 + - name: Setup Node uses: actions/setup-node@v4 with: node-version-file: '.node-version' - - - name: Cache NPM - uses: actions/cache@v4 - with: - path: ~/.npm - key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} - restore-keys: ${{ runner.os }}-modules- + cache: 'pnpm' - name: Install Dependencies run: pnpm install