diff --git a/.github/workflows/preview-docs.yml b/.github/workflows/preview-docs.yml index c6856a6..ad753be 100644 --- a/.github/workflows/preview-docs.yml +++ b/.github/workflows/preview-docs.yml @@ -6,11 +6,16 @@ jobs: check: runs-on: ubuntu-latest steps: - - name: Checkout repo + - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "18" + - name: Install Fern - run: npm install -g fern-api + run: npm install -g fern-api - name: Validate API configuration run: fern check diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 35faa4b..f72653d 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -9,11 +9,16 @@ jobs: check: runs-on: ubuntu-latest steps: - - name: Checkout repo + - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "18" + - name: Install Fern - run: npm install -g fern-api + run: npm install -g fern-api - name: Validate API configuration run: fern check