Skip to content

Commit

Permalink
migrate to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
linusang committed Sep 18, 2023
1 parent 3092942 commit 948dec5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9,931 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.lockb binary diff=lockb
24 changes: 14 additions & 10 deletions .github/workflows/gh-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['master']
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,7 +17,7 @@ permissions:

# Allow one concurrent deployment
concurrency:
group: 'pages'
group: "pages"
cancel-in-progress: true

jobs:
Expand All @@ -30,22 +30,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Setup Bun
uses: oven-sh/setup-bun@v1
# - name: Set up Node
# uses: actions/setup-node@v3
# with:
# node-version: 18
# cache: 'npm'
- name: Install dependencies
run: npm install
run: bun install
# run: npm install
- name: Build
run: npm run build:github-pages
run: bun run build:github-pages
# run: npm run build:github-pages
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload dist repository
path: './dist'
path: "./dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
Binary file added bun.lockb
Binary file not shown.
Loading

0 comments on commit 948dec5

Please sign in to comment.