Skip to content

Commit 6511252

Browse files
authored
Update static.yml
1 parent b02fb29 commit 6511252

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/static.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v2
1818

19-
- name: Set up Node.js
20-
uses: actions/setup-node@v2
19+
- name: Set up Bun
20+
uses: oven-sh/bun-actions/setup@v1
2121
with:
22-
node-version: '14' # Use your preferred Node.js version
22+
bun-version: '1.1.29' # Use the version of Bun you want
2323

2424
- name: Install dependencies
25-
run: npm install # Use yarn or another package manager if needed
25+
run: bun install # Use bun to install dependencies
2626

2727
- name: Build the project
28-
run: npm run build # Run your build command (vite build or other)
28+
run: bun run build # Run your build command using Bun
2929

3030
- name: Deploy to GitHub Pages
3131
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)