-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
43 lines (40 loc) · 875 Bytes
/
Copy pathmonorepo-static-checks.yml
File metadata and controls
43 lines (40 loc) · 875 Bytes
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
name: Monorepo static checks
env:
YARN_ENABLE_HARDENED_MODE: 0
on:
pull_request:
paths-ignore:
- packages/
- apps/
merge_group:
branches:
- main
push:
branches:
- main
paths-ignore:
- packages/
- apps/
workflow_call:
workflow_dispatch:
jobs:
monorepo-static-checks:
if: github.repository == 'software-mansion/react-native-reanimated'
runs-on: ubuntu-latest
concurrency:
group: monorepo-static-checks-${{ github.ref }}
cancel-in-progress: true
steps:
# Setup VM
- name: checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
cache: 'yarn'
# Setup repo
- name: Install dependencies
run: yarn install --immutable
# Checks
- name: Lint
run: yarn lint:root