|
|
@@ -31,23 +31,28 @@ jobs:
|
|
|
steps:
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v4
|
|
|
- - name: Set up Node
|
|
|
- uses: actions/setup-node@v4
|
|
|
+
|
|
|
+ - name: Set up Bun
|
|
|
+ uses: oven-sh/setup-bun@v2
|
|
|
with:
|
|
|
- node-version: 20.x
|
|
|
+ bun-version: 1.1.34
|
|
|
+
|
|
|
- name: Install dependencies and build
|
|
|
env:
|
|
|
BASE_PATH: '/${{ github.event.repository.name }}'
|
|
|
run: |
|
|
|
- npm i
|
|
|
- npm run build
|
|
|
+ bun i
|
|
|
+ bun run build
|
|
|
+
|
|
|
- name: Setup Pages
|
|
|
uses: actions/configure-pages@v4
|
|
|
+
|
|
|
- name: Upload artifact
|
|
|
uses: actions/upload-pages-artifact@v3
|
|
|
with:
|
|
|
# Upload dist folder
|
|
|
path: 'build/'
|
|
|
+
|
|
|
- name: Deploy to GitHub Pages
|
|
|
id: deployment
|
|
|
uses: actions/deploy-pages@v4
|