-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from biolab/feature/build-widget-catalog
Build widget catalog on build
- Loading branch information
Showing
1 changed file
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,12 @@ name: Node.js CI | |
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
# Manually trigger workflow | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
@@ -18,16 +24,16 @@ jobs: | |
sudo apt-get install -y glibc-tools # required for catchsegv | ||
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libegl1-mesa libxcb-shape0 libxcb-cursor0 | ||
# - name: Setup Python | ||
# uses: actions/setup-python@v4 | ||
# with: | ||
# python-version: "3.10" | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
|
||
# - name: Build widget catalog | ||
# run: | | ||
# pip install -U setuptools pip | ||
# pip install orange-canvas-core pyqt6==6.5.* | ||
# bash scripts/build-widget-catalog.sh | ||
- name: Build widget catalog | ||
run: | | ||
pip install -U setuptools pip | ||
pip install orange-canvas-core pyqt6==6.5.* | ||
bash scripts/build-widget-catalog.sh | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v1 | ||
|
@@ -41,6 +47,7 @@ jobs: | |
run: yarn run build && yarn run export && touch ./out/.nojekyll | ||
|
||
- name: Deploy 🚀 | ||
if: github.ref == 'refs/heads/main' | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|