mirror of
https://github.com/mileswolfallen2/gelectron.git
synced 2026-09-08 04:43:14 +00:00
Fix napi resolution in CI and bump Node to 20
This commit is contained in:
@@ -39,14 +39,14 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Build N-API addon for ${{ matrix.target }}
|
||||
run: napi build --platform --release --target ${{ matrix.target }} --package gelectron-core
|
||||
run: npx napi build --platform --release --target ${{ matrix.target }} --package gelectron-core
|
||||
|
||||
- name: Rename .node file with platform-specific name
|
||||
shell: bash
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- name: Download all platform packages
|
||||
|
||||
Reference in New Issue
Block a user