Skip to content

Commit

Permalink
Update NPM modules and migrate to bun
Browse files Browse the repository at this point in the history
Signed-off-by: Rem01Gaming <Rem01_Gaming@proton.me>
  • Loading branch information
Rem01Gaming committed Jan 25, 2025
1 parent da3b67a commit c278229
Show file tree
Hide file tree
Showing 4 changed files with 355 additions and 2,430 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ concurrency:
jobs:
# Build job
build:
name: Build Website
runs-on: ubuntu-latest
defaults:
run:
Expand All @@ -33,31 +34,34 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0 # Not needed if lastUpdated is not enabled
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Setup Pages
uses: actions/configure-pages@v5

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

- name: Build with VitePress
run: |
npm run build
bun run build
touch docs/.vitepress/dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: website/docs/.vitepress/dist

# Deployment job
deploy:
name: Deploy Website
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down
Loading

0 comments on commit c278229

Please sign in to comment.