mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38:39 -09:00
47 lines
No EOL
1.1 KiB
YAML
47 lines
No EOL
1.1 KiB
YAML
name: Node CI
|
|
on:
|
|
push:
|
|
branches:
|
|
workflow_dispatch:
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
concurrency:
|
|
group: release-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
NODE_VERSION: 20.11.0
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
CSC_LINK: ${{ secrets.MAC_CERT_P12_BASE64 }}
|
|
CSC_KEY_PASSWORD: ${{ secrets.MAC_CERT_P12_PASSWORD }}
|
|
WIN_CSC_LINK: ${{ secrets.WIN_CERT_P12_BASE64 }}
|
|
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CERT_P12_PASSWORD }}
|
|
APPLE_ID: ${{ secrets.APPLE_ID }}
|
|
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
|
|
|
|
jobs:
|
|
build-ubuntu:
|
|
name: Build Ubuntu
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
uses: ./.github/actions/build
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
|
|
build-macos:
|
|
name: Build macOS
|
|
runs-on: macos-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
uses: ./.github/actions/build
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }} |