diff --git a/.github/workflows/deploy-cloudflare.yml b/.github/workflows/deploy-cloudflare.yml index 81b5e6d..3be97ee 100644 --- a/.github/workflows/deploy-cloudflare.yml +++ b/.github/workflows/deploy-cloudflare.yml @@ -31,15 +31,20 @@ jobs: - name: ➡️ Checkout repository uses: actions/checkout@v4 + - name: 📦 Setup pnpm + uses: pnpm/action-setup@v4.1.0 + with: + version: latest + - name: 📦 Setup Node.js uses: actions/setup-node@v4 with: node-version: "20" - cache: "npm" - cache-dependency-path: "./mail-worker/package-lock.json" + cache: "pnpm" + cache-dependency-path: "./mail-worker/pnpm-lock.yaml" - name: 📥 Install dependencies - run: npm ci + run: pnpm install --frozen-lockfile working-directory: ./mail-worker - name: 📡 Disable wrangler telemetry