Skip to content

Merge pull request #623 from powerhouse-inc/625-deploy-chatroom-docum… #221

Merge pull request #623 from powerhouse-inc/625-deploy-chatroom-docum…

Merge pull request #623 from powerhouse-inc/625-deploy-chatroom-docum… #221

Workflow file for this run

name: Release
on:
push:
branches: [main, staging, develop]
workflow_dispatch:
env:
HUSKY: 0
jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20.x
- name: Install Dependencies
run: npm install --frozen-lockfile
- name: Release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# build_and_publish_electron:
# needs: [release]
# permissions:
# contents: write
# strategy:
# matrix:
# os: [macos-latest, windows-latest, ubuntu-latest]
# runs-on: ${{ matrix.os }}
# steps:
# - uses: actions/checkout@v3
# with:
# ref: ${{ github.ref_name }}
# - uses: actions/setup-node@v2
# with:
# node-version: 20.x
# - name: install dependencies
# run: yarn --frozen-lockfile
# - name: build and publish electron
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npm run publish:electron