mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 03:05:25 +00:00
chore: add web prepare in release workflow
This commit is contained in:
parent
dbaa495fb1
commit
20dae541e1
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -17,10 +17,22 @@ jobs:
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: Build
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install setuptools wheel twine
|
||||
npm install
|
||||
- name: Build Python package
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Build web assets
|
||||
run: |
|
||||
cd web
|
||||
npm install
|
||||
npm run build
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
|
Loading…
x
Reference in New Issue
Block a user