diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 706c3a2a3..83791a06e 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -8,20 +8,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Install Deps run: npm ci - name: Build Docs - env: - NODE_OPTIONS: --max_old_space_size=8192 run: npm run docs:build diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 003337baa..bdc9b72ac 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -3,7 +3,6 @@ name: Deploy Docs on: push: branches: - # make sure this is the branch you are using - main jobs: @@ -11,24 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - # if your docs needs submodules, uncomment the following line - # submodules: true - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 22 cache: npm - name: Install Deps run: npm ci - name: Build Docs - env: - NODE_OPTIONS: --max_old_space_size=8192 run: |- npm run docs:build > src/.vuepress/dist/.nojekyll