From be75d39bf24e4f6f9eec50af4e648de5da27549e Mon Sep 17 00:00:00 2001 From: tbxark Date: Wed, 13 Nov 2024 22:24:26 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0github=20action=20?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 1 + .github/workflows/cloudflare.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f832cb6..6964b73d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,5 +17,6 @@ jobs: with: node-version: 20 - run: npm install -g pnpm + - run: pnpm install - run: pnpm run build - run: node ./dist/index.js \ No newline at end of file diff --git a/.github/workflows/cloudflare.yml b/.github/workflows/cloudflare.yml index ce655788..0c852c41 100644 --- a/.github/workflows/cloudflare.yml +++ b/.github/workflows/cloudflare.yml @@ -20,6 +20,7 @@ jobs: ${{secrets.WRANGLER_TOML}} EOF - run: npm install -g pnpm + - run: pnpm install - run: pnpm run build - run: CLOUDFLARE_API_TOKEN=${{ secrets.CF_API_TOKEN }} pnpm run wrangler deploy --config=wrangler.toml > /dev/null