Skip to content

Commit bdef18f

Browse files
committed
chore: switch lint workflow to pnpm and update e2e install docs
- replace Bun setup in .github/workflows/lint.yml with Node + corepack-driven pnpm so linting aligns with the rest of the CI pipelines - run lint commands through pnpm to ensure they use the workspace lockfile - update packages/e2e/README.md installation section to point to pnpm add instead of bun install
1 parent 745b368 commit bdef18f

File tree

4 files changed

+15
-94
lines changed

4 files changed

+15
-94
lines changed

.github/workflows/lint.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,16 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Setup Bun
19-
uses: oven-sh/setup-bun@v1
18+
- name: Setup Node
19+
uses: actions/setup-node@v4
2020
with:
21-
bun-version: latest
21+
node-version: 22.18.0
22+
registry-url: https://registry.npmjs.org
23+
24+
- name: Enable corepack + pin pnpm
25+
run: |
26+
corepack enable
27+
corepack prepare [email protected] --activate
2228
2329
- name: Install rust
2430
uses: dtolnay/[email protected]
@@ -29,9 +35,9 @@ jobs:
2935
version: 'latest'
3036

3137
- name: Install project dependencies
32-
run: bun install
38+
run: pnpm install --frozen-lockfile
3339

3440
- name: Lint
3541
run: |
3642
echo "Running workspace format check..."
37-
NX_DAEMON=false bun run format:check
43+
NX_DAEMON=false pnpm run format:check

.github/workflows/prerelease.yml

Lines changed: 0 additions & 85 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ LOCAL_MASTER_ACCOUNT=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf
5252

5353
```bash
5454
// eg. naga-dev
55-
NETWORK=<network-name> bun run test:e2e all
55+
NETWORK=<network-name> pnpm run test:e2e all
5656
```
5757

5858
# Running it against a local network
@@ -73,7 +73,7 @@ DIRECTORY_NAME=naga-local
7373
## Command
7474

7575
```bash
76-
NETWORK=naga-local bun run test:e2e all
76+
NETWORK=naga-local pnpm run test:e2e all
7777
```
7878

7979
# Manual Publishing
@@ -86,7 +86,7 @@ pnpm changeset
8686
pnpm changeset version
8787

8888
# Build the packages
89-
bun run build
89+
pnpm build
9090

9191
# Commit the changes
9292
git add .

packages/e2e/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A comprehensive end-to-end testing package for Lit Protocol integrations. This p
55
## Installation
66

77
```bash
8-
bun install @litprotocol/e2e
8+
pnpm add @litprotocol/e2e
99
```
1010

1111
## Environment Variables

0 commit comments

Comments
 (0)