From 9e5c7d71c8e7dc6c809713d307d1b32d784390c2 Mon Sep 17 00:00:00 2001 From: arkohut <39525455+arkohut@users.noreply.github.com> Date: Wed, 3 Jul 2024 18:56:32 +0800 Subject: [PATCH] fix: wrong directory for npm install --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e404b6..0fa341b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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