|
1 | 1 | name: CI |
2 | 2 |
|
3 | 3 | on: |
4 | | - push: |
5 | | - branches: [master] |
6 | | - pull_request: |
7 | | - branches: [master] |
| 4 | + push: |
| 5 | + branches: [master] |
| 6 | + pull_request: |
| 7 | + branches: [master] |
8 | 8 |
|
9 | 9 | jobs: |
10 | | - lint: |
11 | | - runs-on: ubuntu-latest |
12 | | - steps: |
13 | | - - uses: actions/checkout@v2 |
14 | | - - uses: actions/setup-node@v2 |
15 | | - with: |
16 | | - node-version: 14 |
17 | | - - name: Install Packages |
18 | | - run: npm install |
19 | | - - name: Build |
20 | | - run: npm run build |
21 | | - - name: Lint |
22 | | - run: npm run lint |
23 | | - test-for-win-integrations: |
24 | | - runs-on: windows-latest |
25 | | - steps: |
26 | | - - uses: actions/checkout@v2 |
27 | | - - name: Use Node.js 14 |
28 | | - uses: actions/setup-node@v2 |
29 | | - with: |
30 | | - node-version: 14 |
31 | | - - name: Install Packages |
32 | | - run: npm install |
33 | | - - name: Test |
34 | | - run: npm run test:integrations |
35 | | - test-for-mac-integrations: |
36 | | - runs-on: macos-latest |
37 | | - steps: |
38 | | - - uses: actions/checkout@v2 |
39 | | - - name: Use Node.js 14 |
40 | | - uses: actions/setup-node@v2 |
41 | | - with: |
42 | | - node-version: 14 |
43 | | - - name: Install Packages |
44 | | - run: npm install |
45 | | - - name: Test |
46 | | - run: npm run test:integrations |
47 | | - test-for-ubuntu-integrations: |
48 | | - runs-on: ubuntu-latest |
49 | | - steps: |
50 | | - - uses: actions/checkout@v2 |
51 | | - - name: Use Node.js 14 |
52 | | - uses: actions/setup-node@v2 |
53 | | - with: |
54 | | - node-version: 14 |
55 | | - - name: Install Packages |
56 | | - run: npm install |
57 | | - - name: Test |
58 | | - run: npm run test:integrations |
59 | | - test: |
60 | | - runs-on: ubuntu-latest |
61 | | - strategy: |
62 | | - matrix: |
63 | | - node-version: [10.13.x, 12.x, 13.x, 14.x] |
64 | | - steps: |
65 | | - - uses: actions/checkout@v2 |
66 | | - - name: Use Node.js ${{ matrix.node-version }} |
67 | | - uses: actions/setup-node@v2 |
68 | | - with: |
69 | | - node-version: ${{ matrix.node-version }} |
70 | | - - name: Install Packages |
71 | | - run: npm install |
72 | | - - name: Test |
73 | | - run: npm test |
74 | | - test-with-eslint6: |
75 | | - runs-on: ubuntu-latest |
76 | | - steps: |
77 | | - - uses: actions/checkout@v2 |
78 | | - - uses: actions/setup-node@v2 |
79 | | - with: |
80 | | - node-version: 8.10.x |
81 | | - - name: Install Target Packages |
82 | | - run: |+ |
83 | | - npm i -D [email protected] mocha@7 |
84 | | - npx rimraf node_modules |
85 | | - npm install |
86 | | - - name: Test |
87 | | - run: npm test |
88 | | - test-and-coverage: |
89 | | - runs-on: ubuntu-latest |
90 | | - steps: |
91 | | - - uses: actions/checkout@v2 |
92 | | - - uses: actions/setup-node@v2 |
93 | | - with: |
94 | | - node-version: 10.x |
95 | | - - name: Install Packages |
96 | | - run: npm install |
97 | | - - name: Test |
98 | | - run: npm run test:nyc |
99 | | - - name: Coveralls GitHub Action |
100 | | - uses: coverallsapp/[email protected] |
101 | | - with: |
102 | | - github-token: ${{ secrets.GITHUB_TOKEN }} |
| 10 | + lint: |
| 11 | + runs-on: ubuntu-latest |
| 12 | + steps: |
| 13 | + - uses: actions/checkout@v2 |
| 14 | + - uses: actions/setup-node@v2 |
| 15 | + with: |
| 16 | + node-version: 14 |
| 17 | + - name: Install Packages |
| 18 | + run: npm install |
| 19 | + - name: Build |
| 20 | + run: npm run build |
| 21 | + - name: Lint |
| 22 | + run: npm run lint |
| 23 | + test-for-win-integrations: |
| 24 | + runs-on: windows-latest |
| 25 | + steps: |
| 26 | + - uses: actions/checkout@v2 |
| 27 | + - name: Use Node.js 14 |
| 28 | + uses: actions/setup-node@v2 |
| 29 | + with: |
| 30 | + node-version: 14 |
| 31 | + - name: Install Packages |
| 32 | + run: npm install |
| 33 | + - name: Test |
| 34 | + run: npm run test:integrations |
| 35 | + test-for-mac-integrations: |
| 36 | + runs-on: macos-latest |
| 37 | + steps: |
| 38 | + - uses: actions/checkout@v2 |
| 39 | + - name: Use Node.js 14 |
| 40 | + uses: actions/setup-node@v2 |
| 41 | + with: |
| 42 | + node-version: 14 |
| 43 | + - name: Install Packages |
| 44 | + run: npm install |
| 45 | + - name: Test |
| 46 | + run: npm run test:integrations |
| 47 | + test-for-ubuntu-integrations: |
| 48 | + runs-on: ubuntu-latest |
| 49 | + steps: |
| 50 | + - uses: actions/checkout@v2 |
| 51 | + - name: Use Node.js 14 |
| 52 | + uses: actions/setup-node@v2 |
| 53 | + with: |
| 54 | + node-version: 14 |
| 55 | + - name: Install Packages |
| 56 | + run: npm install |
| 57 | + - name: Test |
| 58 | + run: npm run test:integrations |
| 59 | + test: |
| 60 | + runs-on: ubuntu-latest |
| 61 | + strategy: |
| 62 | + matrix: |
| 63 | + node-version: [10.13.x, 12.x, 13.x, 14.x] |
| 64 | + steps: |
| 65 | + - uses: actions/checkout@v2 |
| 66 | + - name: Use Node.js ${{ matrix.node-version }} |
| 67 | + uses: actions/setup-node@v2 |
| 68 | + with: |
| 69 | + node-version: ${{ matrix.node-version }} |
| 70 | + - name: Install Packages |
| 71 | + run: npm install |
| 72 | + - name: Test |
| 73 | + run: npm test |
| 74 | + test-with-eslint6: |
| 75 | + runs-on: ubuntu-latest |
| 76 | + steps: |
| 77 | + - uses: actions/checkout@v2 |
| 78 | + - uses: actions/setup-node@v2 |
| 79 | + with: |
| 80 | + node-version: 8.10.x |
| 81 | + - name: Install Target Packages |
| 82 | + run: |+ |
| 83 | + npm i -D [email protected] mocha@7 |
| 84 | + npx rimraf node_modules |
| 85 | + npm install |
| 86 | + - name: Test |
| 87 | + run: npm test |
| 88 | + test-and-coverage: |
| 89 | + runs-on: ubuntu-latest |
| 90 | + steps: |
| 91 | + - uses: actions/checkout@v2 |
| 92 | + - uses: actions/setup-node@v2 |
| 93 | + with: |
| 94 | + node-version: 10.x |
| 95 | + - name: Install Packages |
| 96 | + run: npm install |
| 97 | + - name: Test |
| 98 | + run: npm run test:nyc |
| 99 | + - name: Coveralls GitHub Action |
| 100 | + uses: coverallsapp/[email protected] |
| 101 | + with: |
| 102 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments