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:
|
||||
python-version: "3.10"
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '20'
|
||||
- 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
|
||||
- name: Build Python package
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
|
Loading…
x
Reference in New Issue
Block a user