Merge pull request #612 from powerhouse-inc/feat-bump-libs-2024-11-21 #215
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: | |
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 |