-
Upgrade nodejs on your dev machine:
choco upgrade nodejs
-
Upgrade npm on your dev machine (https://docs.npmjs.com/try-the-latest-stable-version-of-npm):
npm install -g npm@latest
-
Create git branch:
git switch -c feature/upgrade-dependencies
-
Run:
themes/devlog-theme/npm-update.ps1
(or
themes/devlog-theme/npm-init.ps1on a fresh clone) -
Update
HUGO_VERSIONvariable in.github/workflows/build-and-deploy.yaml -
Push branch to GitHub
-
Create pull request
-
After all checks have passed, go into the Summary of the Build & Deploy action and download the
diffable-output...artifact -
Download the
diffable-output...artifact from the latest action run on themainbranch:https://github.com/skrysm/devlog/actions/workflows/build-and-deploy.yaml?query=branch:main
If the artifacts have already expired (because the run is too old), manually trigger a run:
https://github.com/skrysm/devlog/actions/workflows/build-and-deploy.yaml
-
Compare the contents of the two
diffable-output...zip files with a diff tool -
If ok, merge the pull request