Skip to content

Commit 840e8d1

Browse files
authored
main.yml
1 parent 8bbee9a commit 840e8d1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/chrome.yml renamed to .github/workflows/main.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,23 @@ on:
88
branches: [ main ]
99
jobs:
1010
test:
11-
name: ${{matrix.browser}} - Node ${{ matrix.node }} - ${{ matrix.os }}
11+
name: ${{matrix.browser}} - node ${{ matrix.node }} - ${{ matrix.os }}
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
node-version: [16]
15+
node: [16]
1616
os: [ubuntu-latest, windows-latest]
17-
browser: [chrome]
17+
browser: [chrome, firefox]
1818
steps:
1919
- uses: actions/checkout@v3
20-
- uses: nanasess/setup-chromedriver@v1
2120
- name: Use Node.js ${{ matrix.node }}
2221
uses: actions/setup-node@v3
2322
with:
2423
node-version: ${{ matrix.node }}
2524
cache: 'npm'
2625
- run: npm install
2726
- run: chromedriver --version
28-
- run: npm run test:chrome
27+
- run: npm run test:${{ matrix.browser }}
2928
- uses: actions/upload-artifact@v3
3029
with:
31-
path: reports/
30+
path: reports/${{ matrix.browser }}

0 commit comments

Comments
 (0)