-
-
Notifications
You must be signed in to change notification settings - Fork 91
33 lines (33 loc) · 841 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: CI
on:
push:
branches:
- 'main'
- 'develop'
pull_request:
branches:
- '**'
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: 14
- uses: actions/checkout@v2
- run: HOMEBREW_NO_AUTO_UPDATE=1 brew install rpm
- run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn build
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-macos
path: dist/*-mac.*
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-linux
path: dist/*-linux.*
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-windows
path: dist/*-win.*