house-keeping: jsdoc migrate from GitHub deprecated node16 -> node20
authorPaul Donald <newtwen@gmail.com>
Tue, 30 Jan 2024 15:50:18 +0000 (16:50 +0100)
committerPaul Donald <newtwen@gmail.com>
Tue, 30 Jan 2024 16:09:09 +0000 (17:09 +0100)
GitHub currently warns with:
Annotations
1 warning
build

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

.github/workflows/jsdoc.yml

index 5a180bbd8e3df85c367f401e90ae7a9211e04177..e7f40f2a5cfa637f4cdd34f9dea460a529366886 100644 (file)
@@ -17,7 +17,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout code
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Install
         run: npm install
@@ -26,7 +26,7 @@ jobs:
         run: npm run doc
 
       - name: Archive docs as artifact
-        uses: actions/upload-artifact@v3
+        uses: actions/upload-artifact@v4
         with:
           name: docs
           path: ./docs/