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 }}