Skip to content

Commit 546fcb5

Browse files
committed
ci: update pr
1 parent 8384533 commit 546fcb5

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,27 @@ jobs:
4848
- name: Run unit tests
4949
run: yarn test --maxWorkers=2 --coverage
5050

51+
docs:
52+
runs-on: ubuntu-latest
53+
needs: [lint]
54+
steps:
55+
- name: Checkout
56+
uses: actions/checkout@v5.0.0
57+
with:
58+
fetch-depth: 0
59+
60+
- name: Setup
61+
uses: ./.github/actions/setup
62+
63+
- name: Generate nitrogen code
64+
run: yarn nitrogen
65+
66+
- name: Install dependencies
67+
run: yarn install
68+
69+
- name: Build docs
70+
run: yarn docs
71+
5172
build-android:
5273
runs-on: ubuntu-latest
5374
needs: [lint, test]
@@ -93,7 +114,7 @@ jobs:
93114
run: yarn build:android
94115
build-ios:
95116
runs-on: macos-latest
96-
needs: [lint, test]
117+
needs: [lint, test, docs]
97118
env:
98119
XCODE_VERSION: '26.0.1'
99120
steps:

0 commit comments

Comments
 (0)