Skip to content

Commit

Permalink
ci: switch to bun
Browse files Browse the repository at this point in the history
This commit changes the CI setup from Node.js to Bun.

Bun is a new JavaScript runtime that is faster and more efficient than Node.js. It is also more secure and has a smaller footprint.

This change will improve the performance and security of the CI pipeline.
  • Loading branch information
luandro committed Sep 6, 2024
1 parent a47eeec commit 2130e7b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/github-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
node-version: '20'
bun-version: latest

- name: Install dependencies
run: npm install
run: bun install

- name: Build the project
run: npm run build
run: bun run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
Expand Down

0 comments on commit 2130e7b

Please sign in to comment.