Skip to content

Commit 13162be

Browse files
committed
aded multi operating system matrix strategy to cicd
1 parent 4af0098 commit 13162be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/rtconnect-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,20 @@ on:
1010
branches: [ "main" ]
1111

1212
jobs:
13-
build:
14-
runs-on: ubuntu-latest
13+
build_test_lint:
1514
strategy:
1615
fail-fast: false
1716
matrix:
18-
node-version: [17.x, 18.x]
17+
node-version: [17.x, 18.x, 19.x, 20.x]
1918
os: [windows-latest, ubuntu-latest]
2019
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
20+
runs-on: ${{ matrix.os}}
2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Use Node.js ${{ matrix.node-version }}
2424
uses: actions/setup-node@v2
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
os: ${{ matrix.os}}
2827
- run: npm ci
2928
- run: npm run build
3029
- run: npm run lint

0 commit comments

Comments
 (0)