mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 01:10:02 +02:00
chore(build): add new build scripts for Cloudflare and update wrangler.toml
This commit is contained in:
parent
525a614178
commit
442311b203
3 changed files with 4 additions and 2 deletions
2
.github/workflows/ci-pipeline.yml
vendored
2
.github/workflows/ci-pipeline.yml
vendored
|
@ -85,7 +85,7 @@ jobs:
|
|||
if: ${{ needs.check_changes.outputs.exists == 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr.microsoft.com/playwright:v1.52.0-jammy
|
||||
image: mcr.microsoft.com/playwright:v1.52.0-noble
|
||||
options: --user 1001
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
"dev": "astro dev --port 3000",
|
||||
"start": "astro preview --port 3000",
|
||||
"build": "astro check && astro build",
|
||||
"build:cf": "bun upgrade && bun install --frozen-lockfile && bun run build",
|
||||
"build:node": "bun install --frozen-lockfile && npm run build",
|
||||
"preview": "astro preview --port 3000",
|
||||
"wrangler": "wrangler",
|
||||
"astro": "astro",
|
||||
|
|
|
@ -2,7 +2,7 @@ name = "zenbrowser-www"
|
|||
pages_build_output_dir = "./dist"
|
||||
|
||||
[build]
|
||||
command = "bun run build"
|
||||
command = "bun run build:cf"
|
||||
|
||||
[env]
|
||||
production = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue