@@ -18,39 +18,38 @@ concurrency:
18
18
group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-binarytree
19
19
cancel-in-progress : true
20
20
21
+ env :
22
+ CI : true
23
+
21
24
jobs :
22
25
test-binarytree :
23
26
runs-on : ubuntu-24.04
24
27
25
28
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
28
31
with :
29
32
submodules : recursive
30
33
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
33
36
with :
34
- # Use 'auto' if your root package.json has: { "packageManager": "[email protected] " }
35
- version : auto
36
37
run_install : false
37
38
38
- - uses : actions/setup-node@v5
39
+ - name : Setup Node.js
40
+ uses : actions/setup-node@v5
39
41
with :
40
42
node-version : ' 20'
41
43
cache : ' pnpm'
42
44
43
- # Install **once** from the workspace root
44
45
- name : Install dependencies (workspace root)
45
46
working-directory : ${{ github.workspace }}
46
47
run : pnpm install --frozen-lockfile
47
48
48
- # Build ONLY the binarytree package (run inside its folder; no -r, no root scripts)
49
49
- name : Build @ethereumjs/binarytree
50
50
working-directory : ${{ github.workspace }}/packages/binarytree
51
51
run : pnpm run build
52
52
53
- # Test ONLY the binarytree package (node tests)
54
- - name : Test @ethereumjs/binarytree (node)
53
+ - name : Test @ethereumjs/binarytree
55
54
working-directory : ${{ github.workspace }}/packages/binarytree
56
- run : pnpm run test:node
55
+ run : pnpm run test
0 commit comments