55# This file is part of the xPack project (http://xpack.github.io).
66# Copyright (c) 2021-2026 Liviu Ionescu. All rights reserved.
77#
8- # Permission to use, copy, modify, and/or distribute this software
9- # for any purpose is hereby granted, under the terms of the MIT license.
8+ # Permission to use, copy, modify, and/or distribute this software for any
9+ # purpose is hereby granted, under the terms of the MIT license.
1010#
11- # If a copy of the license was not distributed with this file, it can
12- # be obtained from https://opensource.org/licenses/mit.
11+ # If a copy of the license was not distributed with this file, it can be
12+ # obtained from https://opensource.org/licenses/mit.
1313#
1414# -----------------------------------------------------------------------------
1515
3434 # ... any of these files changes ...
3535 paths :
3636 - ' website/**'
37- - ' typedoc.json'
3837 - ' **/tsconfig*.json'
3938 - ' src/**/*.ts'
4039 - ' README.md'
@@ -54,33 +53,32 @@ permissions:
5453# Allow one concurrent deployment.
5554# https://docs.github.com/en/actions/using-jobs/using-concurrency
5655concurrency :
57- group : " pages"
56+ group : ' pages'
5857 cancel-in-progress : true
5958
6059jobs :
6160 # Single deploy job since we're just deploying.
62- # https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
6361 deploy :
6462 environment :
6563 name : github-pages
6664 url : ${{steps.deployment.outputs.page_url}}
67- # https://docs. github.com/en/ actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
65+ # https://github.com/actions/runner-images
6866 runs-on : ubuntu-24.04
6967
7068 steps :
7169 - name : Checkout
7270 # https://github.com/actions/checkout
73- uses : actions/checkout@v5
71+ uses : actions/checkout@v6.0.2
7472 with :
7573 # The full history, required to compute lastUpdatedAt
7674 fetch-depth : 0
7775
7876 - name : Use Nodejs
7977 # https://github.com/actions/setup-node
80- uses : actions/setup-node@v5
78+ uses : actions/setup-node@v6.4.0
8179 with :
8280 # Node LTS version.
83- node-version : 20
81+ node-version : 24
8482
8583 - name : Install dependencies
8684 run : npm --prefix website ci
@@ -90,18 +88,18 @@ jobs:
9088
9189 - name : Setup Pages
9290 # https://github.com/actions/configure-pages
93- uses : actions/configure-pages@v5
91+ uses : actions/configure-pages@v6.0.0
9492
9593 - name : Upload Pages artifact
9694 # https://github.com/actions/upload-pages-artifact
97- uses : actions/upload-pages-artifact@v4
95+ uses : actions/upload-pages-artifact@v5.0.0
9896 with :
99- # Upload entire repository
97+ # Upload entire website
10098 path : ' ./website/build'
10199
102100 - name : Deploy to GitHub Pages
103101 id : deployment # referred by environment above, to get the URL.
104102 # https://github.com/actions/deploy-pages
105- uses : actions/deploy-pages@v4
103+ uses : actions/deploy-pages@v5.0.0
106104 with :
107105 artifact_name : github-pages
0 commit comments