Update workflow and package configuration #6
Workflow file for this run
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 Release Electron App | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| release: | |
| types: [created, edited] | |
| workflow_dispatch: | |
| jobs: | |
| release: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v3 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| cache: 'yarn' | |
| - name: Install Root Dependencies | |
| run: yarn install | |
| - name: Install React Dependencies | |
| run: | | |
| cd nebulaview | |
| yarn install | |
| - name: Build React App | |
| run: | | |
| cd nebulaview | |
| yarn build | |
| - name: Build and Release Electron App | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: yarn build:electron -p always |