Skip to content

Commit 0acd403

Browse files
committed
simplifying with lerna commands
1 parent 53fd51c commit 0acd403

File tree

6 files changed

+8
-27
lines changed

6 files changed

+8
-27
lines changed

.github/workflows/account-build.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,8 @@ jobs:
3030
node-version: '${{ matrix.node-version }}'
3131
- uses: actions/checkout@v1
3232
- run: npx lerna bootstrap --scope ethereumjs-account --ignore-scripts --include-dependencies --no-ci
33-
- run: npx lerna run --scope ethereumjs-account --include-dependencies build
34-
- run: npm run lint
35-
env:
36-
CI: true
37-
working-directory: '${{ env.cwd }}'
33+
- run: npx lerna run build --scope ethereumjs-account --include-dependencies
34+
- run: npx lerna run lint --scope ethereumjs-account
3835
- run: npm test
3936
env:
4037
CI: true

.github/workflows/block-build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ jobs:
2828
node-version: '${{ matrix.node-version }}'
2929
- uses: actions/checkout@v1
3030
- run: npm install
31-
working-directory: '${{ env.cwd }}'
32-
- run: npm run lint
33-
env:
34-
CI: true
3531
working-directory: '${{ env.cwd }}'
36-
- run: 'npm run test:node'
32+
- run: npx lerna run lint --scope ethereumjs-block
33+
- run: npm run test:node
3734
env:
3835
CI: true
3936
working-directory: '${{ env.cwd }}'
@@ -43,4 +40,3 @@ jobs:
4340
working-directory: '${{ env.cwd }}'
4441
env:
4542
cwd: '${{github.workspace}}/packages/block'
46-

.github/workflows/blockchain-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@ jobs:
3131
- uses: actions/checkout@v1
3232
- run: npx lerna bootstrap --scope ethereumjs-blockchain --ignore-scripts --include-dependencies --no-ci
3333
- run: npx lerna run --scope ethereumjs-blockchain --include-dependencies build
34-
- run: npm run lint
35-
env:
36-
CI: true
37-
working-directory: '${{ env.cwd }}'
34+
- run: npx lerna run lint --scope ethereumjs-blockchain
3835
- run: npm test
3936
env:
4037
CI: true

.github/workflows/common-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ jobs:
2525
- uses: actions/checkout@v1
2626
- run: npx lerna bootstrap --scope ethereumjs-common --ignore-scripts --include-dependencies --no-ci
2727
- run: npx lerna run --scope ethereumjs-common --include-dependencies build
28-
- run: npm run lint
29-
env:
30-
CI: true
31-
working-directory: '${{ env.cwd }}'
28+
- run: npx lerna run lint --scope ethereumjs-common
3229
- run: npm test
3330
env:
3431
CI: true

.github/workflows/tx-bulid.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ jobs:
2727
- uses: actions/checkout@v1
2828
- run: npx lerna bootstrap --scope ethereumjs-tx --ignore-scripts --include-dependencies --no-ci
2929
- run: npx lerna run --scope ethereumjs-tx --include-dependencies build
30-
- run: npm run lint
31-
env:
32-
CI: true
33-
working-directory: '${{ env.cwd }}'
30+
- run: npx lerna run lint --scope ethereumjs-tx
3431
- run: 'npm run test:node'
3532
env:
3633
CI: true

.github/workflows/vm-build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ jobs:
2929
- uses: actions/checkout@v1
3030
- run: npx lerna bootstrap --scope ethereumjs-vm --ignore-scripts --include-dependencies --no-ci
3131
- run: npx lerna run --scope ethereumjs-vm --include-dependencies build
32-
- run: npm run lint
33-
env:
34-
CI: true
35-
working-directory: '${{ env.cwd }}'
32+
- run: npx lerna run lint --scope ethereumjs-vm
3633
- run: 'npm run test:API'
3734
env:
3835
CI: true

0 commit comments

Comments
 (0)