-
Notifications
You must be signed in to change notification settings - Fork 1.9k
52 lines (49 loc) · 1.15 KB
/
rapid-test.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
50
51
52
name: Rapid Test
on:
push:
branches: [ master ]
paths-ignore:
- '.github/workflows/docs.yml'
- '.markdownlintrc'
- '.remarkignore'
- '.remarkrc.mjs'
- '.retext-spell.dic'
- 'docs/**'
- '**.md'
pull_request:
branches: [ master ]
paths-ignore:
- '.github/workflows/docs.yml'
- '.markdownlintrc'
- '.remarkignore'
- '.remarkrc.mjs'
- '.retext-spell.dic'
- 'docs/**'
- '**.md'
jobs:
js:
name: JS & TS
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [12]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Bootstrap Lerna
run: npx lerna bootstrap --no-ci
env:
DETOX_DISABLE_POD_INSTALL: true
DETOX_DISABLE_POSTINSTALL: true
- name: Lint
run: npm run lint
working-directory: detox
- name: Typings
run: npm test
working-directory: detox/test
- name: Unit tests
run: npm run unit
working-directory: detox