Skip to content

Commit

Permalink
WIP deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ofrades committed Mar 24, 2024
1 parent 125a9d2 commit 0bf6dd2
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
with:
submodules: recursive
- uses: oven-sh/setup-bun@v1
- run: bun install
- name: "📦 Install"
run: bun install --frozen-lockfile
- run: bun run check
- run: bun run test
- run: bun run coverage
Expand All @@ -35,7 +36,8 @@ jobs:
with:
submodules: recursive
- uses: oven-sh/setup-bun@v1
- run: bun install
- name: "📦 Install"
run: bun install --frozen-lockfile
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
Expand All @@ -51,13 +53,13 @@ jobs:
with:
submodules: recursive
- uses: oven-sh/setup-bun@v1
- run: bun install
- name: Build
- name: "📦 Install"
run: bun install --frozen-lockfile
- name: "🔧 Build"
run: bun run build
- name: Deploy
- name: "🔸 Cloudflare Workers - Deploy 🚀"
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy dist --project-name tesourofieis
packageManager: bun
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: bunx wrangler pages deploy dist --project-name tesourofieis

0 comments on commit 0bf6dd2

Please sign in to comment.