Skip to content

chore(ci): build worker (deps) #107

chore(ci): build worker (deps)

chore(ci): build worker (deps) #107

Workflow file for this run

name: Deploy Worker
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Setup Volta
uses: volta-cli/action@v3
- name: Cache turbo
uses: actions/cache@v3
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Install dependencies
uses: ./.github/actions/yarn
- name: Build Worker
run: yarn turbo build --scope=@searchy/worker
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_TOKEN }}
workingDirectory: ./apps/worker