mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-22 16:34:10 +01:00
Merge pull request #5578 from nichwall/upgrade-to-node24
Upgrade to node24
This commit is contained in:
11 files changed
+25
-24
No files matched your search
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
|
||||
# The only argument is the `directory`, which is where the i18n files are
|
||||
|
||||
@@ -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: |
|
||||
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
|
||||
# Install Redocly CLI
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: 24
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
|
||||
Reference in new issue
Block a user