Skip to content

Commit

Permalink
changed to bun (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
n3rdc4ptn authored May 20, 2024
1 parent aa67da0 commit 5411c1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 940 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install packages
run: yarn install
run: bun install
- name: Setup Pages
id: setuppages
uses: actions/configure-pages@v2
- name: Build
run: |
if [ -z "${{ steps.setuppages.outputs.base_path }}" ]; then
yarn build
bun run build
else
yarn build --base=${{ steps.setuppages.outputs.base_path }}
bun run build --base=${{ steps.setuppages.outputs.base_path }}
fi
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install packages
run: yarn install
run: bun install
- name: Build
run: yarn build
run: bun run build
Binary file added bun.lockb
Binary file not shown.
Loading

0 comments on commit 5411c1c

Please sign in to comment.