|
13 | 13 |
|
14 | 14 | strategy: |
15 | 15 | matrix: |
16 | | - php-versions: ['7.3', '7.4'] |
| 16 | + php-versions: ['7.2', '7.3', '7.4'] |
17 | 17 |
|
18 | 18 | name: php${{ matrix.php-versions }} |
19 | 19 | steps: |
@@ -52,46 +52,44 @@ jobs: |
52 | 52 | - name: Run coding standards check |
53 | 53 | run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 ) |
54 | 54 |
|
55 | | -# node: |
56 | | -# runs-on: ubuntu-latest |
57 | | -# |
58 | | -# strategy: |
59 | | -# matrix: |
60 | | -# node-version: [12.x] |
61 | | -# |
62 | | -# name: eslint node${{ matrix.node-version }} |
63 | | -# steps: |
64 | | -# - uses: actions/checkout@v2 |
65 | | -# |
66 | | -# - name: Set up node ${{ matrix.node-version }} |
67 | | -# uses: actions/setup-node@v1 |
68 | | -# with: |
69 | | -# node-version: ${{ matrix.node-version }} |
70 | | -# |
71 | | -# - name: Install dependencies |
72 | | -# run: npm ci |
73 | | -# |
74 | | -# - name: Lint |
75 | | -# run: npm run lint |
76 | | -# |
77 | | -# stylelint: |
78 | | -# runs-on: ubuntu-latest |
79 | | -# |
80 | | -# strategy: |
81 | | -# matrix: |
82 | | -# node-version: [12.x] |
83 | | -# |
84 | | -# name: stylelint node${{ matrix.node-version }} |
85 | | -# steps: |
86 | | -# - uses: actions/checkout@v2 |
87 | | -# |
88 | | -# - name: Set up node ${{ matrix.node-version }} |
89 | | -# uses: actions/setup-node@v1 |
90 | | -# with: |
91 | | -# node-version: ${{ matrix.node-version }} |
92 | | -# |
93 | | -# - name: Install dependencies |
94 | | -# run: npm ci |
95 | | -# |
96 | | -# - name: Lint |
97 | | -# run: npm run stylelint |
| 55 | + node: |
| 56 | + runs-on: ubuntu-latest |
| 57 | + |
| 58 | + name: eslint node |
| 59 | + steps: |
| 60 | + - uses: actions/checkout@v2 |
| 61 | + |
| 62 | + - name: Set up node |
| 63 | + uses: actions/setup-node@v2 |
| 64 | + with: |
| 65 | + node-version: 14 |
| 66 | + |
| 67 | + - name: Set up npm7 |
| 68 | + run: npm i -g npm@7 |
| 69 | + |
| 70 | + - name: Install dependencies |
| 71 | + run: npm ci |
| 72 | + |
| 73 | + - name: Lint |
| 74 | + run: npm run lint |
| 75 | + |
| 76 | + stylelint: |
| 77 | + runs-on: ubuntu-latest |
| 78 | + |
| 79 | + name: stylelint node |
| 80 | + steps: |
| 81 | + - uses: actions/checkout@v2 |
| 82 | + |
| 83 | + - name: Set up node |
| 84 | + uses: actions/setup-node@v2 |
| 85 | + with: |
| 86 | + node-version: 14 |
| 87 | + |
| 88 | + - name: Set up npm7 |
| 89 | + run: npm i -g npm@7 |
| 90 | + |
| 91 | + - name: Install dependencies |
| 92 | + run: npm ci |
| 93 | + |
| 94 | + - name: Lint |
| 95 | + run: npm run stylelint |
0 commit comments