Skip to content

Merge pull request #1 from bolanosdev/chore/create_github_workflows #1

Merge pull request #1 from bolanosdev/chore/create_github_workflows

Merge pull request #1 from bolanosdev/chore/create_github_workflows #1

Workflow file for this run

name: release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: oven-sh/setup-bun@v1
- run: bun i
- run: bun test app
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: oven-sh/setup-bun@v1
- run: bun i
- run: bun run build
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}