Skip to content

Merge pull request #27 from open-frames/dj/transactions #9

Merge pull request #27 from open-frames/dj/transactions

Merge pull request #27 from open-frames/dj/transactions #9

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
env:
SKIP_YARN_COREPACK_CHECK: '1'
- name: Install Yarn v3
run: |
corepack enable
corepack prepare
- name: Install dependencies
run: yarn && yarn build
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
packageManager: yarn
apiToken: ${{ secrets.WORKERS_TOKEN }}
accountId: ${{ secrets.WORKERS_ACCOUNT_ID }}
workingDirectory: examples/workers