Skip to content

Commit 481116d

Browse files
authored
switch from pnpm to bun (#111)
1 parent 3cc8138 commit 481116d

File tree

5 files changed

+1885
-7789
lines changed

5 files changed

+1885
-7789
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ permissions:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17-
strategy:
18-
matrix:
19-
node-version: [22]
2017
timeout-minutes: 15
2118
steps:
2219
- name: Checkout
@@ -28,20 +25,17 @@ jobs:
2825
with:
2926
version: 10
3027

31-
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v4
33-
with:
34-
node-version: ${{ matrix.node-version }}
35-
cache: "pnpm"
28+
- name: Use Bun
29+
uses: oven-sh/setup-bun@v2
3630

3731
- name: Install Dependencies
38-
run: pnpm install
32+
run: bun install
3933

4034
- name: Install Playwright (for MermaidJS)
41-
run: pnpm exec playwright install --with-deps chromium
35+
run: bun playwright install --with-deps chromium
4236

4337
- name: Build Website
44-
run: pnpm build
38+
run: bun run build
4539

4640
- name: Upload Built Website
4741
uses: actions/upload-pages-artifact@v3

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ This website explains the [lua-language-server](https://github.com/LuaLS/lua-lan
1818

1919
See the [contributing guide](./docs/CONTRIBUTING.md).
2020

21-
To get started, run `npm i` to install the dependencies.
21+
To get started, run `bun i` to install the dependencies.
2222

23-
You can then use `npm run dev` to start a local development server on `localhost:3000`.
23+
You can then use `bun dev` to start a local development server on `localhost:3000`.
2424

25-
`npm run build` will build the site for production so it can be previewed. `npm run preview` will preview your build of the website.
25+
`bun run build` will build the site for production so it can be previewed. `bun run preview` will preview your build of the website.
2626

2727
## Acknowledgments
2828

0 commit comments

Comments
 (0)