Skip to content

Commit 2ecaa05

Browse files
authored
Update main.yml
1 parent 1d5fe3d commit 2ecaa05

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,18 @@ on:
88
branches: [ main ]
99
jobs:
1010
test:
11-
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
11+
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
node-version: [12.x, 14.x, 16.x]
15+
node: [12, 14, 16]
1616
os: [ubuntu-latest, windows-latest, macOS-latest]
1717
steps:
1818
- uses: actions/checkout@v3
19-
- name: Use Node.js ${{ matrix.node-version }}
19+
- name: Use Node.js ${{ matrix.node }}
2020
uses: actions/setup-node@v3
2121
with:
22-
node-version: ${{ matrix.node-version }}
22+
node-version: ${{ matrix.node }}
2323
cache: 'npm'
24-
- run: |
25-
npm install
26-
npm run test:chrome
24+
- run: npm install
25+
- run: npm run test:chrome

0 commit comments

Comments
 (0)