forked from satsigner/satsigner
-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.03 KB
/
Copy pathci.yml
File metadata and controls
50 lines (42 loc) · 1.03 KB
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
50
name: CI
on:
push:
branches: ['master']
pull_request:
branches: ['master']
types: [opened, synchronize, ready_for_review]
jobs:
ci:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: set up node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
uses: borales/actions-yarn@v4.2.0
with:
cmd: install
- name: type check
uses: borales/actions-yarn@v4.2.0
with:
cmd: type-check
dir: apps/mobile
- name: format
uses: borales/actions-yarn@v4.2.0
with:
cmd: format
- name: lint
uses: borales/actions-yarn@v4.2.0
with:
cmd: lint
- name: test
uses: borales/actions-yarn@v4.2.0
with:
cmd: test
dir: apps/mobile