Skip to content

improve: serialize messages first in log lines #37

improve: serialize messages first in log lines

improve: serialize messages first in log lines #37

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
types:
name: Check Types
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn types
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn test
deploy:
name: Deploy
needs:
- types
- test
runs-on: ubuntu-latest
environment: Production
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- run: yarn
- run: yarn wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}