chore(deps): update dependency node to v20 - autoclosed #286
Workflow file for this run
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
name: Windows Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Set up NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install dependencies | |
run: yarn | |
- name: Read package JSON | |
id: packagejson | |
uses: gregoranders/[email protected] | |
- name: Compile source | |
run: yarn build:app:unpacked | |
- name: Compile helper | |
run: yarn build:helper | |
- name: Build installer | |
working-directory: assets | |
run: iscc setup-script.iss /Dversion=${{ steps.packagejson.outputs.version }} | |
- name: Upload portable version | |
uses: actions/upload-artifact@v4 | |
with: | |
name: GlucoseTicker-${{ steps.packagejson.outputs.version }}-portable | |
path: dist/win-unpacked | |
- name: Upload installer | |
uses: actions/upload-artifact@v4 | |
with: | |
name: GlucoseTicker-${{ steps.packagejson.outputs.version }}-setup | |
path: dist/GlucoseTicker-${{ steps.packagejson.outputs.version }}-setup.exe |