node 22 and python 3.13
This commit is contained in:
70
.github/workflows/build.yml
vendored
70
.github/workflows/build.yml
vendored
@@ -17,12 +17,12 @@ jobs:
|
||||
- name: Install NodeJS
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 22
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install Python Deps
|
||||
run: pip install -r requirements.txt
|
||||
@@ -44,43 +44,43 @@ jobs:
|
||||
omitNameDuringUpdate: true
|
||||
artifacts: "dist/*-win-installer.exe,dist/*-win-portable.exe"
|
||||
|
||||
build_mac:
|
||||
runs-on: macos-13
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Clone Repo
|
||||
uses: actions/checkout@v1
|
||||
# build_mac:
|
||||
# runs-on: macos-13
|
||||
# permissions:
|
||||
# contents: write
|
||||
# steps:
|
||||
# - name: Clone Repo
|
||||
# uses: actions/checkout@v1
|
||||
|
||||
- name: Install NodeJS
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 18
|
||||
# - name: Install NodeJS
|
||||
# uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 20
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
# - name: Install Python
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: "3.13"
|
||||
|
||||
- name: Install Python Deps
|
||||
run: pip install -r requirements.txt
|
||||
# - name: Install Python Deps
|
||||
# run: pip install -r requirements.txt
|
||||
|
||||
- name: Install NodeJS Deps
|
||||
run: npm install
|
||||
# - name: Install NodeJS Deps
|
||||
# run: npm install
|
||||
|
||||
- name: Build Electron App
|
||||
run: npm run dist
|
||||
# - name: Build Electron App
|
||||
# run: npm run dist
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
draft: true
|
||||
allowUpdates: true
|
||||
replacesArtifacts: true
|
||||
omitDraftDuringUpdate: true
|
||||
omitNameDuringUpdate: true
|
||||
artifacts: "dist/*-mac.dmg"
|
||||
# - name: Create Release
|
||||
# id: create_release
|
||||
# uses: ncipollo/release-action@v1
|
||||
# with:
|
||||
# draft: true
|
||||
# allowUpdates: true
|
||||
# replacesArtifacts: true
|
||||
# omitDraftDuringUpdate: true
|
||||
# omitNameDuringUpdate: true
|
||||
# artifacts: "dist/*-mac.dmg"
|
||||
|
||||
build_linux:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -93,12 +93,12 @@ jobs:
|
||||
- name: Install NodeJS
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 22
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.13"
|
||||
|
||||
- name: Install Python Deps
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Build the frontend
|
||||
FROM node:20-alpine AS build-frontend
|
||||
FROM node:22-alpine AS build-frontend
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
- Alpine Image Variants.
|
||||
- Updated Dependencies.
|
||||
- Dark mode by default.
|
||||
- Dockerfile use python 3.13
|
||||
- Python 3.13 and Node 20.
|
||||
- Ruff formatting and fixes.
|
||||
|
||||
## Security
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -35,7 +35,7 @@
|
||||
"electron-builder": "^24.6.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=22"
|
||||
}
|
||||
},
|
||||
"node_modules/@alloc/quick-lru": {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
"node": ">=22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"electron": "^30.0.8",
|
||||
|
||||
Reference in New Issue
Block a user