Add helper for recompiling for electron? #100
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: Build / Release | |
on: | |
# Trigger the workflow on push or pull request, | |
# but only for the main branch | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: "Install Node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
corepack: true | |
- name: "Install Node Packages" | |
run: "yarn install" | |
#- name: "Rebuild for Electron" | |
# run: "npm run rebuild" | |
- name: "Build" | |
run: "yarn run buildpublish" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
VITE_APP_MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }} | |
VITE_SPELLCAST_URL: https://api.spellcast.gg/ | |
VITE_SPELLCAST_SOCKET_URL: wss://api.spellcast.gg/ |