Skip to content

Commit f18ada5

Browse files
Merge pull request #377 from backtrace-labs/feature/BT-7067-windows-build-node-20
react-native: Build windows on node v20 and test on v18 and v20
2 parents 2945358 + b1ae5ec commit f18ada5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,21 @@ jobs:
102102

103103
strategy:
104104
matrix:
105-
node-version: [18.x]
105+
build-version: [20.x]
106+
node-version: [18.x, 20.x]
106107

107108
steps:
108109
- uses: actions/checkout@v4
109110
- name: Use Node.js ${{ matrix.node-version }}
110111
uses: actions/setup-node@v4
111112
with:
112-
node-version: ${{ matrix.node-version }}
113+
node-version: ${{ matrix.build-version }}
113114
- run: npm ci
114115
- run: npm run build
116+
- name: Test using Node.js ${{ matrix.node-version }}
117+
uses: actions/setup-node@v4
118+
with:
119+
node-version: ${{ matrix.node-version }}
115120
- run: npm test
116121
- name: smoke-test
117122
uses: ./.github/actions/smoke-tests

0 commit comments

Comments
 (0)