From 6b57316a16e5551cb4ae99f3c7d0a68ddbbd1662 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Wed, 13 May 2026 12:22:50 +0700 Subject: [PATCH] ci: add workflow with pnpm + wrangler dry-run deploy --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..5dd8c08 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: ci + +on: + push: + branches: [main] + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - uses: actions/setup-node@v4 + with: + node-version: '24' + cache: 'pnpm' + - run: pnpm install --frozen-lockfile + - run: pnpm exec wrangler deploy --dry-run + env: + CLOUDFLARE_API_TOKEN: dummy