Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Incubo4u/fix docs generation #36

Merged
merged 3 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 45 additions & 7 deletions .github/workflows/publish_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,55 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
yarn-version: '1.22.x'

- name: Run yarn install in root directory
run: |
cd $GITHUB_WORKSPACE
yarn install

- name: Upload yarn.lock artifact
uses: actions/upload-artifact@v2
with:
name: yarn-lock
path: |
/home/runner/work/react-native-client-sdk/react-native-client-sdk/yarn.lock

- name: Run yarn install in example directory
run: |
cd $GITHUB_WORKSPACE/example
yarn install

- name: Upload yarn.lock artifact
uses: actions/upload-artifact@v2
with:
# the same as in our docker_membrane repository
node-version: 16
name: yarn-lock-example
path: |
/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/yarn.lock

- name: Install yarn Dependencies
run: yarn
- name: Run yarn install in webdriverio-test directory
run: |
cd $GITHUB_WORKSPACE/example/webdriverio-test
yarn install

- name: Upload yarn.lock artifact
uses: actions/upload-artifact@v2
with:
name: yarn-lock-webdriverio-test
path: |
/home/runner/work/react-native-client-sdk/react-native-client-sdk/example/webdriverio-test/yarn.lock

- name: Build Docs
run: yarn docs

run: |
cd $GITHUB_WORKSPACE
yarn docs

- name: Deploy
uses: s0/git-publish-subdir-action@develop
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jellyfish-dev/react-native-client-sdk",
"version": "0.1.3",
"version": "0.1.4",
"description": "React native client sdk for the Jellyfish server.",
"main": "lib/commonjs/index",
"license": "Apache-2.0",
Expand Down
Loading