File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 test :
11- name : Test on ${{ matrix.os }} with Node.js ${{ matrix.node-version }} / ${{ matrix.arch }}
11+ name : Test on ${{ matrix.os }} with Node.js ${{ matrix.node-version }}
1212 runs-on : ${{ matrix.os }}
1313
1414 strategy :
@@ -21,23 +21,27 @@ jobs:
2121 - name : Checkout code
2222 uses : actions/checkout@v4
2323
24- - name : Setup Node.js ${{ matrix.node-version }} (${{ matrix.arch }})
24+ - name : Setup Node.js ${{ matrix.node-version }}
2525 uses : actions/setup-node@v4
2626 with :
2727 node-version : ${{ matrix.node-version }}
28- architecture : ${{ matrix.arch }}
2928 cache : ' npm'
3029
3130 - name : Install dependencies
3231 run : npm ci
3332
3433 - name : Build native tests
3534 run : npm run build
36- env :
37- npm_config_arch : ${{ matrix.arch }}
3835
3936 - name : Run native tests
4037 run : npm run test
4138
42- - name : Display architecture info
43- run : node -e "console.log('Node arch:', process.arch); console.log('Platform:', process.platform)"
39+ - name : Prebuild
40+ shell : bash
41+ run : npm run prebuild
42+
43+ - name : Upload prebuilds
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : ref-napi-prebuild-${{ matrix.os }}-${{ matrix.node-version }}
47+ path : prebuilds/
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments