Skip to content

Commit

Permalink
chore(bin/install.sh): do not generate docs and tds on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chicoxyzzy committed Sep 19, 2023
1 parent 3810c30 commit 2009980
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Build Socket Runtime
run: |
VERBOSE=1 ./bin/install.sh
VERBOSE=1 NO_DOC_GEN=1 ./bin/install.sh
./bin/ci_version_check.sh
- name: test a socket api example app
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Build Socket Runtime
run: |
VERBOSE=1 ./bin/install.sh
VERBOSE=1 NO_DOC_GEN=1 ./bin/install.sh
./bin/ci_version_check.sh
- name: test a socket api example app
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
- name: Build Socket Runtime
run: |
VERBOSE=1 ./bin/install.sh
VERBOSE=1 NO_DOC_GEN=1 ./bin/install.sh
./bin/ci_version_check.sh
- name: test a socket api example app
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:

- name: Build Socket Runtime
run: |
VERBOSE=1 ./bin/install.sh
VERBOSE=1 NO_DOC_GEN=1 ./bin/install.sh
./bin/ci_version_check.sh
env:
VERBOSE: 1
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
run: |
yes | sdkmanager --licenses > /dev/null
sdkmanager --install 'ndk;25.0.8775105' 'build-tools;33.0.2' 'system-images;android-33;google_apis;x86_64'
VERBOSE=1 ./bin/install.sh
VERBOSE=1 NO_DOC_GEN=1 ./bin/install.sh
./bin/ci_version_check.sh
env:
CI: true
Expand Down
5 changes: 3 additions & 2 deletions bin/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,8 @@ fi

_install_cli

# Generate docs and TypeScript definitions
npm run gen
if [[ -z $NO_DOC_GEN ]]; then
npm run gen
fi

exit $?

0 comments on commit 2009980

Please sign in to comment.