fix: dynamic font size #50
This file contains hidden or 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
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install dependencies and build UI | |
run: | | |
cd ui | |
npm ci | |
cd .. | |
npm i -g @neutralinojs/neu@11.3.1 | |
neu build | |
- name: Copy resources.neu to version folder | |
run: | | |
cp ./dist/ikusa-logger/resources.neu ./version/resources.neu | |
- name: Adjust version number | |
run: | | |
VERSION=$(grep -oP '(?<="version": ")[^"]*' neutralino.config.json) | |
sed -i 's/"version": ".*"/"version": "'"$VERSION"'"/' ./version/version-manifest.json | |
- name: Commit and push changes | |
run: | | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add ./version/resources.neu ./version/version-manifest.json | |
git commit -m "deployed new version" | |
git push |