File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed
publish-self-hostable-docs Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 2121 id : check_env
2222 shell : bash
2323 run : |
24+ set -e
2425 if [ -z "$FERN_API_DOCKERHUB_PASSWORD" ]; then echo "FERN_API_DOCKERHUB_PASSWORD is not set"; exit 1; fi
2526 if [ -z "$TURBO_TOKEN" ]; then echo "TURBO_TOKEN is not set"; exit 1; fi
2627 if [ -z "$TURBO_TEAM" ]; then echo "TURBO_TEAM is not set"; exit 1; fi
@@ -37,11 +38,14 @@ runs:
3738
3839 - name : Build Docker image
3940 shell : bash
40- run : pnpm --filter=@fern-platform/self-hosted docker:build
41+ run : |
42+ set -e
43+ pnpm --filter=@fern-platform/self-hosted docker:build
4144
4245 # - name: Push to Docker Hub
4346 # shell: bash
4447 # run: |
48+ # set -e
4549 # echo "Pushing image to Docker Hub: fernapi/fern-self-hosted:${{ inputs.version }}"
4650 # docker tag fern-self-hosted:latest fernapi/fern-self-hosted:${{ inputs.version }}
4751 # docker push fernapi/fern-self-hosted:${{ inputs.version }}
Original file line number Diff line number Diff line change 66 steps :
77 - name : Run self-hosted tests
88 shell : bash
9- run : pnpm turbo build test:self-hosted --filter=@fern-platform/self-hosted
9+ run : |
10+ set -e
11+ pnpm turbo build test:self-hosted --filter=@fern-platform/self-hosted
Original file line number Diff line number Diff line change 77 - name : Update Engines
88 shell : bash
99 run : |
10+ set -e
1011 node -e 'const fs = require("fs"); const pkg = require("./package.json"); console.log("Before modification:", JSON.stringify(pkg.engines, null, 2)); pkg.engines.node = ">=20.0.0"; pkg.engines.pnpm = "9.15.9"; pkg.packageManager = "[email protected] "; console.log("After modification:", JSON.stringify(pkg.engines, null, 2)); fs.writeFileSync("./package.json", JSON.stringify(pkg, null, 2));' 1112
1213 - name : Install
1314 uses : ./.github/actions/legacy-install
1415
1516 - name : Compile and build
1617 shell : bash
17- run : pnpm turbo compile codegen build
18+ run : |
19+ set -e
20+ pnpm turbo compile codegen build
1821 env :
1922 FERN_TOKEN : ${{ env.FERN_TOKEN }}
2023 WORKOS_API_KEY : ${{ env.WORKOS_API_KEY }}
2124 WORKOS_CLIENT_ID : ${{ env.WORKOS_CLIENT_ID }}
2225
2326 - name : Build FDR CJS
2427 shell : bash
25- run : pnpm --filter @fern-platform/fdr build:tsup:cjs
28+ run : |
29+ set -e
30+ pnpm --filter @fern-platform/fdr build:tsup:cjs
2631
2732 - name : Build docs bundle
2833 shell : bash
29- run : pnpm docs:self-hosted-bundle:build
34+ run : |
35+ set -e
36+ echo "Starting docs bundle build..."
37+ pnpm docs:self-hosted-bundle:build
38+ echo "Docs bundle build completed successfully"
You can’t perform that action at this time.
0 commit comments