mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-06 19:25:24 +00:00
fix: wrong directory for npm install
This commit is contained in:
parent
20dae541e1
commit
9e5c7d71c8
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -18,21 +18,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '20'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install setuptools wheel twine
|
pip install setuptools wheel twine
|
||||||
npm install
|
|
||||||
- name: Build Python package
|
|
||||||
run: |
|
|
||||||
python setup.py sdist bdist_wheel
|
|
||||||
- name: Build web assets
|
- name: Build web assets
|
||||||
run: |
|
run: |
|
||||||
cd web
|
cd web
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
- name: Build Python package
|
||||||
|
run: |
|
||||||
|
python setup.py sdist bdist_wheel
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
|
Loading…
x
Reference in New Issue
Block a user