Skip to content

Commit dd5ab65

Browse files
authored
Remove addons-linter from ci
1 parent 8fda05c commit dd5ab65

File tree

1 file changed

+8
-24
lines changed

1 file changed

+8
-24
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,13 @@ jobs:
2424
- name: lintspaces
2525
run: |
2626
lintspaces -nt -d 'spaces' -i 'js-comments' src/*/* src/*.ts view/* manifest-*.json css/popup.css css/import.css
27-
build-ffx:
27+
build:
2828
runs-on: ubuntu-latest
29-
name: Build Firefox & run addons-linter
29+
name: Build ${{ matrix.platform }}
3030

31-
steps:
32-
- uses: actions/checkout@v2
33-
34-
- name: Setup Node.js environment
35-
uses: actions/setup-node@v2.1.2
36-
37-
- name: Install dependencies
38-
run: |
39-
npm ci
40-
sudo npm i --only=production -g addons-linter
41-
42-
- name: Build
43-
run: npm run firefox
44-
45-
- name: Run addons-linter
46-
run: addons-linter firefox
47-
build-chrome:
48-
runs-on: ubuntu-latest
49-
name: Build Chrome
31+
strategy:
32+
matrix:
33+
platform: ["chrome", "firefox"]
5034

5135
steps:
5236
- uses: actions/checkout@v2
@@ -58,11 +42,11 @@ jobs:
5842
run: npm ci
5943

6044
- name: Build
61-
run: npm run chrome
45+
run: npm run ${{ matrix.platform }}
6246
run-tests:
6347
runs-on: ubuntu-latest
6448
name: Run tests
65-
needs: [ build-chrome, build-ffx ]
49+
needs: [ build ]
6650

6751
steps:
6852
- uses: actions/checkout@v2
@@ -81,4 +65,4 @@ jobs:
8165
args: npm test
8266

8367
- name: Codecov
84-
uses: codecov/codecov-action@v1.1.0
68+
uses: codecov/codecov-action@v1.1.0

0 commit comments

Comments
 (0)