From 6997d4749e13f86e091d40a1b70983406e5c1599 Mon Sep 17 00:00:00 2001 From: "m.kindritskiy" Date: Sat, 12 Oct 2024 20:06:11 +0300 Subject: [PATCH] add static build to release process --- .github/workflows/release.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a31f37f..6b0d758 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,9 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.10" + - uses: actions/setup-node@v3 + with: + node-version: 20.x - name: Check prerelease id: check_version run: | @@ -39,5 +42,11 @@ jobs: prerelease: ${{ steps.check_version.outputs.PRERELEASE }} - name: Set up PDM run: pip install pdm==2.19.1 + - name: Install npm dependencies + working-directory: ./client + run: npm install + - name: Build static + working-directory: ./client + run: npm run build - name: Publish package distributions to PyPI run: pdm publish -u "__token__" -P ${{ secrets.TWINE_PASSWORD }}