Skip to content

Commit

Permalink
ci: use pinned Bun version
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Apr 20, 2024
1 parent 42d17b0 commit c5a4ab2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.4

- name: Install dependencies
run: bun install

- name: Build app
run: bunx --bun rollup -c
run: bun --bun rollup -c

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ jobs:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.4

- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"

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

- name: Build package
run: npm run package
run: bun package

- name: Publish package
env:
Expand Down

0 comments on commit c5a4ab2

Please sign in to comment.