Skip to content

Commit

Permalink
👷 Build frontend code on release
Browse files Browse the repository at this point in the history
Fingers crossed that works. Would mean could get rid of committed dist, and I would not forget to update it...
  • Loading branch information
cp2004 committed Apr 13, 2021
1 parent f4859db commit e191cdd
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: 🏗 Set up Node 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: 🏗 Install build dependencies
run: |
python -m pip install wheel octoprint --user
npm install
- name: 🔨 Build frontend code in release mode
run: |
npm run release
- name: 🔨 Build a source zip
run: |
python setup.py sdist --formats=zip
Expand Down
1 change: 1 addition & 0 deletions .versioneer-lookup
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

# These branches should only use tags, use for your release branches
master
main
pre-release
rc/.*

Expand Down
Loading

0 comments on commit e191cdd

Please sign in to comment.