Skip to content

Commit 1a7faf3

Browse files
committed
chore: attempt to fix binarytree ci
1 parent dc8bee3 commit 1a7faf3

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/binarytree-build.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,39 +18,38 @@ concurrency:
1818
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-binarytree
1919
cancel-in-progress: true
2020

21+
env:
22+
CI: true
23+
2124
jobs:
2225
test-binarytree:
2326
runs-on: ubuntu-24.04
2427

2528
steps:
26-
# Always fetch the repo (don’t rely on restoring the whole workspace from cache)
27-
- uses: actions/checkout@v5
29+
- name: Checkout repository
30+
uses: actions/checkout@v5
2831
with:
2932
submodules: recursive
3033

31-
# Put pnpm on PATH first so setup-node's `cache: pnpm` can work safely
32-
- uses: pnpm/action-setup@v4
34+
- name: Install pnpm
35+
uses: pnpm/action-setup@v4
3336
with:
34-
# Use 'auto' if your root package.json has: { "packageManager": "[email protected]" }
35-
version: auto
3637
run_install: false
3738

38-
- uses: actions/setup-node@v5
39+
- name: Setup Node.js
40+
uses: actions/setup-node@v5
3941
with:
4042
node-version: '20'
4143
cache: 'pnpm'
4244

43-
# Install **once** from the workspace root
4445
- name: Install dependencies (workspace root)
4546
working-directory: ${{ github.workspace }}
4647
run: pnpm install --frozen-lockfile
4748

48-
# Build ONLY the binarytree package (run inside its folder; no -r, no root scripts)
4949
- name: Build @ethereumjs/binarytree
5050
working-directory: ${{ github.workspace }}/packages/binarytree
5151
run: pnpm run build
5252

53-
# Test ONLY the binarytree package (node tests)
54-
- name: Test @ethereumjs/binarytree (node)
53+
- name: Test @ethereumjs/binarytree
5554
working-directory: ${{ github.workspace }}/packages/binarytree
56-
run: pnpm run test:node
55+
run: pnpm run test

0 commit comments

Comments
 (0)