forked from zulip/zulip-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 1.03 KB
/
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
34
35
36
37
38
39
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Set up Android SDK
uses: android-actions/setup-android@v2
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: '16'
check-latest: true
- name: Run yarn install
# Despite the name, this action sees the yarn.lock
# and runs yarn install with caching
uses: bahmutov/npm-install@v1
- name: Run tools/test
run: TERM=dumb tools/test --all
- run: tools/verify-webview-js
# Note: if running a release build, this command is required:
# echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
# See the mention of `inotify` in docs/. If we attempt assembleRelease,
# then without this line the JS bundle step fails with a baffling ENOSPC
# error, even though there's tons of free space on the filesystem.