Skip to content

Commit 4298aeb

Browse files
Update actions
1 parent ed72cc9 commit 4298aeb

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/docs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,19 @@ jobs:
2424
- name: Checkout
2525
uses: actions/checkout@v4
2626

27-
- name: Setup Node.js
28-
uses: actions/setup-node@v4
29-
with:
30-
node-version: "20"
31-
cache: "npm"
32-
cache-dependency-path: docs/package-lock.json
27+
- name: Setup bun
28+
uses: oven-sh/setup-bun@v2
3329

3430
- name: Setup Pages
3531
uses: actions/configure-pages@v4
3632

3733
- name: Install dependencies
3834
working-directory: ./docs
39-
run: npm ci
35+
run: bun install
4036

4137
- name: Build
4238
working-directory: ./docs
43-
run: npm run build
39+
run: bun run build
4440

4541
- name: Upload artifact
4642
uses: actions/upload-pages-artifact@v3

docs/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"moduleResolution": "bundler",
1616
"resolveJsonModule": true,
1717
"isolatedModules": true,
18-
"jsx": "react-jsx",
18+
"jsx": "preserve",
1919
"incremental": true,
2020
"plugins": [
2121
{

0 commit comments

Comments
 (0)