From 2130e7b1188386824b1dee9201d8b0229aafb773 Mon Sep 17 00:00:00 2001 From: luandro Date: Fri, 6 Sep 2024 07:35:03 -0300 Subject: [PATCH] ci: switch to bun 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. --- .github/workflows/github-pages.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/github-pages.yaml b/.github/workflows/github-pages.yaml index 68bbd23..6ed16cb 100644 --- a/.github/workflows/github-pages.yaml +++ b/.github/workflows/github-pages.yaml @@ -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