Skip to content

Commit fbcfaea

Browse files
committed
Upload prebuilds
1 parent 588c952 commit fbcfaea

3 files changed

Lines changed: 11 additions & 123 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
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/

.travis.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)