From 6cc42c8988a69d51329a3b1a9783e5204ca7cfc4 Mon Sep 17 00:00:00 2001 From: Amadeus <38767929+Mozart409@users.noreply.github.com> Date: Thu, 5 Dec 2024 21:06:10 +0100 Subject: [PATCH] ci: :rocket: update deployment workflow to include pnpm setup and Node.js installation --- .github/workflows/deploy.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index ab180da..85db9b2 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -15,6 +15,20 @@ jobs: name: Deploy steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + with: + version: 9 + run_install: false + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + - name: Deploy uses: cloudflare/wrangler-action@v3 with: