Skip to content

Commit be14556

Browse files
add github workflow
1 parent ec67be3 commit be14556

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Release app
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
build:
6+
strategy:
7+
matrix:
8+
os:
9+
[
10+
{ name: 'linux', image: 'ubuntu-latest' },
11+
{ name: 'windows', image: 'windows-latest' },
12+
{ name: 'macos', image: 'macos-latest' },
13+
]
14+
runs-on: ${{ matrix.os.image }}
15+
steps:
16+
- name: Github checkout
17+
uses: actions/checkout@v3
18+
- name: Use Node.js
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: 20
22+
- run: npm ci
23+
- name: Publish app
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
26+
run: npm run publish

0 commit comments

Comments
 (0)