Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
bun
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 13, 2024
1 parent dc81b22 commit db8609f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1,011 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
with:
fetch-depth: 0 # for lastUpdated
- uses: jdx/mise-action@v2
- run: pnpm install
- run: pnpm run docs:build
- run: bun install
- run: bun run docs:build
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
with:
fetch-depth: 0 # for lastUpdated
- uses: jdx/mise-action@v2
- run: pnpm install
- run: pnpm run docs:build
- run: bun install
- run: bun run docs:build
- run: mise run release
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
5 changes: 2 additions & 3 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tasks.build.run = "pnpm run docs:build"
tasks.build.run = "bun run docs:build"

[tasks."commit-and-push"]
depends = ["build"]
Expand All @@ -8,5 +8,4 @@ run = [
]

[tools]
node = '20'
pnpm = '8'
bun = 'latest'
2 changes: 1 addition & 1 deletion .mise/tasks/release
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -xeuo pipefail
export AWS_REGION=auto
export AWS_ENDPOINT_URL=https://6e243906ff257b965bcae8025c2fc344.r2.cloudflarestorage.com

pnpm run docs:build
bun run docs:build

if [ $((RANDOM % 30)) -eq 0 ]; then
# delete old assets only roughly 1/30 times
Expand Down
Loading

0 comments on commit db8609f

Please sign in to comment.