Skip to content

Commit 59ab106

Browse files
committed
build: revert to previous build script; remove sharp dependency
1 parent 4caf3e7 commit 59ab106

File tree

4 files changed

+7
-461
lines changed

4 files changed

+7
-461
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,6 @@ jobs:
1616
steps:
1717
- name: Checkout your repository using git
1818
uses: actions/checkout@v4
19-
20-
- name: Setup pnpm
21-
uses: pnpm/action-setup@v2
22-
with:
23-
version: 10.14.0
24-
25-
- name: Setup Node
26-
uses: actions/setup-node@v4
27-
with:
28-
node-version: 20
29-
cache: 'pnpm'
30-
31-
- name: Install dependencies
32-
run: pnpm install --no-frozen-lockfile
33-
env:
34-
SHARP_IGNORE_GLOBAL_LIBVIPS: 1
35-
3619
- name: Install, build, and upload your site
3720
uses: withastro/action@v3
3821
# with:

astro.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
// @ts-check
22
import { defineConfig } from 'astro/config';
33
import starlight from '@astrojs/starlight';
4+
import { passthroughImageService } from 'astro/config';
45

56
// https://astro.build/config
67
export default defineConfig({
78
site: 'https://bitmap4.github.io',
9+
image: {
10+
service: passthroughImageService(),
11+
},
812
integrations: [
913
starlight({
1014
title: 'bitmap4',

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
},
1313
"dependencies": {
1414
"@astrojs/starlight": "^0.31.0",
15-
"astro": "^5.1.5",
16-
"sharp": "^0.32.5"
15+
"astro": "^5.1.5"
1716
}
1817
}

0 commit comments

Comments
 (0)