mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
format
This commit is contained in:
parent
566edc1c36
commit
76224933d0
3 changed files with 31 additions and 24 deletions
40
.github/workflows/deploy-api.yml
vendored
40
.github/workflows/deploy-api.yml
vendored
|
|
@ -15,25 +15,25 @@ jobs:
|
|||
ci:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 6
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
cache: 'pnpm'
|
||||
|
||||
- run: pnpm install --no-frozen-lockfile
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 6
|
||||
- uses: pnpm/action-setup@v2.4.0
|
||||
|
||||
- name: Build
|
||||
run: pnpm api:build
|
||||
env:
|
||||
NITRO_PRESET: cloudflare
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
cache: "pnpm"
|
||||
|
||||
- name: Publish to Cloudflare
|
||||
uses: cloudflare/wrangler-action@3
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
- run: pnpm install --no-frozen-lockfile
|
||||
|
||||
- name: Build
|
||||
run: pnpm api:build
|
||||
env:
|
||||
NITRO_PRESET: cloudflare
|
||||
|
||||
- name: Publish to Cloudflare
|
||||
uses: cloudflare/wrangler-action@3
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue