Merge pull request #195 from 6174/0.0.7-alpha #9
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: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install pnpm | |
run: | | |
npm i -g pnpm | |
- name: Install Dependencies | |
run: | | |
pnpm i | |
npm run install-package-builder | |
- name: Build and Release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NODE_ENV: production | |
run: | |
cd ./apps/electron-package | |
npm run compile | |
npm run make |