diff --git a/.github/workflows/publish_docs.yaml b/.github/workflows/publish_docs.yaml index 6ce57ab0..6f891b77 100644 --- a/.github/workflows/publish_docs.yaml +++ b/.github/workflows/publish_docs.yaml @@ -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 diff --git a/package.json b/package.json index b226d9cb..7ab13d3b 100644 --- a/package.json +++ b/package.json @@ -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",