Skip to content

npm2yarn: add tab for bun package manager (#1247) #631

npm2yarn: add tab for bun package manager (#1247)

npm2yarn: add tab for bun package manager (#1247) #631

name: Cloudflare Workers
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy to Cloudflare Workers
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: the-guild-org/shared-config/setup@main
name: setup env
with:
nodeVersion: 18
packageManager: pnpm
- name: Build
run: pnpm build
- name: Deploy
working-directory: ./packages/og-image
run: pnpm run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}