27 lines
759 B
YAML
27 lines
759 B
YAML
# .github/workflows/release.yml
|
|
name: Release app
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [
|
|
# { name: "linux", image: "ubuntu-latest" },
|
|
{ name: "windows", image: "windows-latest" },
|
|
# { name: "macos", image: "macos-latest" },
|
|
]
|
|
runs-on: ${{ matrix.os.image }}
|
|
steps:
|
|
- name: Github checkout
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
|
|
with:
|
|
node-version: 20
|
|
- run: npm ci
|
|
- name: Publish app
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
|
|
run: npm run publish
|