|
1 | 1 | __putout_processor_json({
|
2 |
| - "name": "Node CI", |
3 |
| - "on": [ |
4 |
| - "push", |
5 |
| - "pull_request" |
6 |
| - ], |
7 |
| - "jobs": { |
8 |
| - "build": { |
9 |
| - "runs-on": "ubuntu-latest", |
10 |
| - "steps": [ |
11 |
| - { |
12 |
| - "uses": 'actions/checkout@v3' |
13 |
| - }, |
14 |
| - { |
15 |
| - "name": "Use Node.js ${{ matrix.node-version }}", |
16 |
| - "uses": "actions/setup-node@v1", |
17 |
| - "with": { |
18 |
| - "node-version": "${{ matrix.node-version }}" |
19 |
| - } |
20 |
| - }, |
21 |
| - { |
22 |
| - "name": "Install Redrun", |
23 |
| - "run": "npm i redrun -g" |
24 |
| - }, |
25 |
| - { |
26 |
| - "name": "Install", |
27 |
| - "run": "npm install" |
28 |
| - }, |
29 |
| - { |
30 |
| - "name": "Bootstrap", |
31 |
| - "run": "redrun bootstrap" |
32 |
| - }, |
33 |
| - { |
34 |
| - "name": "Lint", |
35 |
| - "run": "redrun lint" |
36 |
| - }, |
37 |
| - { |
38 |
| - "name": "Coverage", |
39 |
| - "run": "redrun coverage report" |
40 |
| - }, |
41 |
| - { |
42 |
| - "name": "Coveralls", |
43 |
| - "uses": "coverallsapp/github-action@master", |
44 |
| - "with": { |
45 |
| - "github-token": "${{ secrets.GITHUB_TOKEN }}" |
46 |
| - } |
47 |
| - } |
48 |
| - ] |
49 |
| - } |
50 |
| - } |
| 2 | + "name": "Node CI", |
| 3 | + "on": ["push", "pull_request"], |
| 4 | + "jobs": { |
| 5 | + "build": { |
| 6 | + "runs-on": "ubuntu-latest", |
| 7 | + "steps": [{ |
| 8 | + "uses": 'actions/checkout@v3', |
| 9 | + }, { |
| 10 | + "name": "Use Node.js ${{ matrix.node-version }}", |
| 11 | + "uses": "actions/setup-node@v1", |
| 12 | + "with": { |
| 13 | + "node-version": "${{ matrix.node-version }}", |
| 14 | + }, |
| 15 | + }, { |
| 16 | + "name": "Install Redrun", |
| 17 | + "run": "npm i redrun -g", |
| 18 | + }, { |
| 19 | + "name": "Install", |
| 20 | + "run": "npm install", |
| 21 | + }, { |
| 22 | + "name": "Bootstrap", |
| 23 | + "run": "redrun bootstrap", |
| 24 | + }, { |
| 25 | + "name": "Lint", |
| 26 | + "run": "redrun lint", |
| 27 | + }, { |
| 28 | + "name": "Coverage", |
| 29 | + "run": "redrun coverage report", |
| 30 | + }, { |
| 31 | + "name": "Coveralls", |
| 32 | + "uses": "coverallsapp/github-action@master", |
| 33 | + "with": { |
| 34 | + "github-token": "${{ secrets.GITHUB_TOKEN }}", |
| 35 | + }, |
| 36 | + }], |
| 37 | + }, |
| 38 | + }, |
51 | 39 | });
|
0 commit comments