Skip to content

Merge pull request #93 from biolab/blog-image-klagenfurt #181

Merge pull request #93 from biolab/blog-image-klagenfurt

Merge pull request #93 from biolab/blog-image-klagenfurt #181

Workflow file for this run

name: Node.js CI
on:
push:
branches: ["main"]
pull_request:
branches:
- main
# Manually trigger workflow
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install linux system dependencies
run: |
sudo apt-get update
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: 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
with:
node-version: "16.x"
- name: Installing my packages
run: yarn install --frozen-lockfile
- name: Build my App
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 }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: out # The folder the action should deploy.