-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (36 loc) · 906 Bytes
/
ci-on-mac.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI on macOS
on:
push:
branches:
- '**' # matches every branch
pull_request:
branches:
- main
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # for electron-builder
steps:
- uses: actions/checkout@v2
- name: Use Node.js 20.16.0
uses: actions/setup-node@v1
with:
node-version: 20.16.0
- name: npm ci
run: npm ci
- name: npm run lint:ng
run: npm run lint:ng
- name: npm run lint:script
run: npm run lint:script
- name: npm run test:unit:ng
run: npm run test:unit:ng
- name: npm run test:unit:em:main
run: npm run test:unit:em:main
- name: npm run test:unit:em:renderer
run: npm run test:unit:em:renderer
- name: npm run test:package
run: npm run test:package