mirror of
https://github.com/ziex-dev/ziex.git
synced 2026-07-22 11:39:34 -06:00
ci: replace bun with npm
This commit is contained in:
parent
b471b89868
commit
8742c0f7ec
19
.github/workflows/docs.yml
vendored
19
.github/workflows/docs.yml
vendored
@ -33,16 +33,11 @@ jobs:
|
||||
with:
|
||||
version: 0.16.0
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: 1.3.5
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Install Node Dependencies
|
||||
run: cd site && bun install
|
||||
run: cd site && npm ci
|
||||
|
||||
- name: Build Site
|
||||
run: cd site && zig build -Doptimize=ReleaseSmall
|
||||
@ -163,13 +158,8 @@ jobs:
|
||||
with:
|
||||
version: 0.16.0
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: 1.3.5
|
||||
|
||||
- name: Install Node Dependencies
|
||||
run: cd site && bun install
|
||||
run: cd site && npm ci
|
||||
|
||||
- name: Build Edge bundle artifact
|
||||
run: cd site && npx wrangler deploy --dry-run --outdir .wrangler-artifact --assets ./zig-out/static
|
||||
@ -194,11 +184,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: 1.3.5
|
||||
|
||||
- name: Download Edge build artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
|
||||
7
.github/workflows/e2e.yml
vendored
7
.github/workflows/e2e.yml
vendored
@ -51,14 +51,9 @@ jobs:
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: 1.3.5
|
||||
|
||||
- name: Install Site Dependencies
|
||||
working-directory: site
|
||||
run: bun install
|
||||
run: npm ci
|
||||
|
||||
- name: Install E2E Dependencies
|
||||
working-directory: test/e2e
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user