Skip to content

Commit 80ec768

Browse files
authored
Merge pull request ethereumjs#669 from ryanio/updateWorkflows
Update GH Actions and READMEs
2 parents e2c191b + 5360c26 commit 80ec768

21 files changed

+331
-96
lines changed

.github/workflows/account-lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
name: account-lint
1+
name: Account Lint
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-include:
9+
- packages/account/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-include:
513
- packages/account/**
614
jobs:

.github/workflows/account-test.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
name: account-test
1+
name: Account Test
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-ignore:
9+
- packages/block/**
10+
- packages/blockchain/**
11+
- packages/common/**
12+
- packages/tx/**
13+
pull_request:
14+
types: [opened, reopened, synchronize]
415
paths-ignore:
516
- packages/block/**
617
- packages/blockchain/**
@@ -11,11 +22,7 @@ jobs:
1122
runs-on: ubuntu-latest
1223
strategy:
1324
matrix:
14-
node-version:
15-
- 8.x
16-
- 10.x
17-
- 12.x
18-
- 13.x
25+
node-version: [8.x, 10.x, 12.x, 13.x]
1926
steps:
2027
- name: 'Use Node.js ${{ matrix.node-version }}'
2128
uses: actions/setup-node@v1

.github/workflows/block-lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
name: block-lint
1+
name: Block Lint
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-include:
9+
- packages/block/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-include:
513
- packages/block/**
614
jobs:

.github/workflows/block-test.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
1-
name: block-test
1+
name: Block Test
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-ignore:
9+
- packages/account/**
10+
- packages/common/**
11+
- packages/tx/**
12+
pull_request:
13+
types: [opened, reopened, synchronize]
414
paths-ignore:
515
- packages/account/**
616
- packages/common/**
@@ -10,11 +20,7 @@ jobs:
1020
runs-on: ubuntu-latest
1121
strategy:
1222
matrix:
13-
node-version:
14-
- 8.x
15-
- 10.x
16-
- 12.x
17-
- 13.x
23+
node-version: [8.x, 10.x, 12.x, 13.x]
1824
steps:
1925
- name: 'Use Node.js ${{ matrix.node-version }}'
2026
uses: actions/setup-node@v1

.github/workflows/blockchain-lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
name: blockchain-lint
1+
name: Blockchain Lint
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-include:
9+
- packages/blockchain/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-include:
513
- packages/blockchain/**
614
jobs:

.github/workflows/blockchain-test.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
name: blockchain-test
1+
name: Blockchain Test
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-ignore:
9+
- packages/account/**
10+
- packages/block/**
11+
- packages/common/**
12+
- packages/tx/**
13+
pull_request:
14+
types: [opened, reopened, synchronize]
415
paths-ignore:
516
- packages/account/**
617
- packages/block/**
@@ -11,11 +22,7 @@ jobs:
1122
runs-on: ubuntu-latest
1223
strategy:
1324
matrix:
14-
node-version:
15-
- 8.x
16-
- 10.x
17-
- 12.x
18-
- 13.x
25+
node-version: [8.x, 10.x, 12.x, 13.x]
1926
steps:
2027
- name: 'Use Node.js ${{ matrix.node-version }}'
2128
uses: actions/setup-node@v1

.github/workflows/common-lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
name: common-lint
1+
name: Common Lint
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-include:
9+
- packages/common/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-include:
513
- packages/common/**
614
jobs:

.github/workflows/common-test.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
name: common-test
1+
name: Common Test
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-ignore:
9+
- packages/account/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-ignore:
513
- packages/account/**
614
jobs:
715
test:
816
runs-on: ubuntu-latest
917
strategy:
1018
matrix:
11-
node-version:
12-
- 8.x
13-
- 10.x
14-
- 12.x
15-
- 13.x
19+
node-version: [8.x, 10.x, 12.x, 13.x]
1620
steps:
1721
- name: 'Use Node.js ${{ matrix.node-version }}'
1822
uses: actions/setup-node@v1

.github/workflows/labeler.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: PR Labeler
22
'on':
3-
- pull_request
3+
schedule:
4+
- cron: '0 * * * *'
45
jobs:
56
label:
67
runs-on: ubuntu-latest

.github/workflows/tx-lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
name: tx-lint
1+
name: Tx Lint
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-include:
9+
- packages/tx/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-include:
513
- packages/tx/**
614
jobs:

.github/workflows/tx-test.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1-
name: tx-test
1+
name: Tx Test
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-ignore:
9+
- packages/account/**
10+
- packages/common/**
11+
pull_request:
12+
types: [opened, reopened, synchronize]
413
paths-ignore:
514
- packages/account/**
615
- packages/common/**
@@ -9,11 +18,7 @@ jobs:
918
runs-on: ubuntu-latest
1019
strategy:
1120
matrix:
12-
node-version:
13-
- 8.x
14-
- 10.x
15-
- 12.x
16-
- 13.x
21+
node-version: [8.x, 10.x, 12.x, 13.x]
1722
steps:
1823
- name: 'Use Node.js ${{ matrix.node-version }}'
1924
uses: actions/setup-node@v1

.github/workflows/vm-lint.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: VM Lint
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-include:
9+
- packages/vm/**
10+
pull_request:
11+
types: [opened, reopened, synchronize]
412
paths-include:
513
- packages/vm/**
614
jobs:
@@ -16,7 +24,7 @@ jobs:
1624
uses: actions/cache@v1
1725
with:
1826
path: node_modules
19-
key: '${{ runner.os }}-node8-${{ hashFiles(''**/package.json'') }}'
27+
key: "${{ runner.os }}-node8-${{ hashFiles('**/package.json') }}"
2028
- run: npm install
2129
if: steps.cache-node-modules.outputs.cache-hit != 'true'
2230
working-directory: '${{ env.cwd }}'

.github/workflows/vm-test.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: VM Test
22
'on':
33
push:
4+
branches:
5+
- master
6+
tags:
7+
- '*'
8+
paths-ignore:
9+
- packages/account/**
10+
- packages/block/**
11+
- packages/blockchain/**
12+
- packages/common/**
13+
- packages/tx/**
14+
pull_request:
15+
types: [opened, reopened, synchronize]
416
paths-ignore:
517
- packages/account/**
618
- packages/block/**
@@ -20,7 +32,7 @@ jobs:
2032
uses: actions/cache@v1
2133
with:
2234
path: node_modules
23-
key: '${{ runner.os }}-node8-${{ hashFiles(''**/package.json'') }}'
35+
key: "${{ runner.os }}-node8-${{ hashFiles('**/package.json') }}"
2436
- run: npm install
2537
if: steps.cache-node-modules.outputs.cache-hit != 'true'
2638
working-directory: '${{ env.cwd }}'
@@ -46,7 +58,7 @@ jobs:
4658
uses: actions/cache@v1
4759
with:
4860
path: node_modules
49-
key: '${{ runner.os }}-node8-${{ hashFiles(''**/package.json'') }}'
61+
key: "${{ runner.os }}-node8-${{ hashFiles('**/package.json') }}"
5062
- run: npm install
5163
if: steps.cache-node-modules.outputs.cache-hit != 'true'
5264
working-directory: '${{ env.cwd }}'
@@ -68,7 +80,7 @@ jobs:
6880
uses: actions/cache@v1
6981
with:
7082
path: node_modules
71-
key: '${{ runner.os }}-node8-${{ hashFiles(''**/package.json'') }}'
83+
key: "${{ runner.os }}-node8-${{ hashFiles('**/package.json') }}"
7284
- run: npm install
7385
if: steps.cache-node-modules.outputs.cache-hit != 'true'
7486
working-directory: '${{ env.cwd }}'

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
package-lock.json

0 commit comments

Comments
 (0)