Skip to content

Update Node.js version and use bun for dependency management in githu… #375

Update Node.js version and use bun for dependency management in githu…

Update Node.js version and use bun for dependency management in githu… #375

Workflow file for this run

name: Build/release
on:
push:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-14, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build app
run: bun run build
env:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
GH_TOKEN: ${{ secrets.github_token }}
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-build
path: |
out/win-unpacked
out/linux-unpacked
out/*.dmg
out/*.AppImage
out/*.exe