Skip to content

Commit e42ca0b

Browse files
committed
fix: Align pipeline versions with other pipelines
1 parent 5f2da06 commit e42ca0b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/deploy-vitepress-docs.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ concurrency:
2121
jobs:
2222
# Build job
2323
deploy-docs:
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-24.04
2525
env:
2626
DOC_VERSION: v5 # The directory in gh-pages where the documentation would be deployed
2727
DOC_ALIAS: next # Change this to update the alias route. Note: Check the old alias when changing this!
@@ -30,21 +30,21 @@ jobs:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434
with:
3535
fetch-depth: 0
3636
- name: Setup Node
37-
uses: actions/setup-node@v4
37+
uses: actions/setup-node@v6
3838
with:
39-
node-version: 20
40-
cache: npm
39+
node-version: 22.20.0
40+
cache: npm
4141
- name: Setup Pages
4242
uses: actions/configure-pages@v4
4343
- name: Install dependencies
44-
run: npm ci
44+
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
4545
- name: Install documentation dependencies
4646
working-directory: packages/documentation
47-
run: npm ci
47+
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
4848
- name: Fetch gh-pages branch
4949
run: git fetch origin gh-pages --depth=1
5050
- name: generate CLI doc
@@ -68,7 +68,7 @@ jobs:
6868
# npm run schema-generate
6969
# npm run schema-workspace-generate
7070
- name: Checkout gh-pages
71-
uses: actions/checkout@v4
71+
uses: actions/checkout@v5
7272
with:
7373
ref: gh-pages
7474
path: gh-pages

0 commit comments

Comments
 (0)