Update build scripts to target node 24

This commit is contained in:
Nicholas Wallace committed 2026-09-18 10:32:21 -07:00
1 parent 1e88ff01e7
commit 83e9a82f8f
3 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -24,10 +24,10 @@ jobs:
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
cache: 'npm'
- name: install pkg (using yao-pkg fork for targeting node20)
- name: install pkg (using yao-pkg fork for targeting node24)
run: npm install -g @yao-pkg/pkg
- name: get client dependencies
@@ -42,7 +42,7 @@ jobs:
run: npm ci && npm run build:server && npm prune --omit=dev
- name: build binary
run: pkg --config package.json -t node20-linux-x64 -o audiobookshelf dist-server/index.js
run: pkg --config package.json -t node24-linux-x64 -o audiobookshelf dist-server/index.js
- name: run audiobookshelf
run: |