Skip to content

Commit

Permalink
add static build to release process
Browse files Browse the repository at this point in the history
  • Loading branch information
m.kindritskiy committed Oct 12, 2024
1 parent 6406eda commit 6997d47
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}

0 comments on commit 6997d47

Please sign in to comment.