-
Notifications
You must be signed in to change notification settings - Fork 65
43 lines (39 loc) · 1.01 KB
/
build-web.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
name: Test web build
on:
pull_request:
paths:
- .github/workflows/build-web.yml
- src/**
- WebExample/**
merge_group:
branches:
- main
push:
branches:
- main
paths:
- .github/workflows/build-web.yml
- src/**
- WebExample/**
jobs:
build:
if: github.repository == 'Expensify/react-native-live-markdown'
runs-on: ubuntu-latest
strategy:
matrix:
working-directory: [WebExample]
fail-fast: false
concurrency:
group: build-web-${{ matrix.working-directory }}-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install node_modules
run: yarn install --immutable
- name: Install ${{ matrix.working-directory }} dependencies
working-directory: ${{ matrix.working-directory }}
run: npm ci
- name: Build app
working-directory: ${{ matrix.working-directory }}
run: npx expo export:web