Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.18 KB

File metadata and controls

40 lines (28 loc) · 1.18 KB

Upgrading Dependencies

  1. Upgrade nodejs on your dev machine:

    choco upgrade nodejs
  2. Upgrade npm on your dev machine (https://docs.npmjs.com/try-the-latest-stable-version-of-npm):

    npm install -g npm@latest
  3. Create git branch:

    git switch -c feature/upgrade-dependencies
  4. Run:

    themes/devlog-theme/npm-update.ps1

    (or themes/devlog-theme/npm-init.ps1 on a fresh clone)

  5. Update HUGO_VERSION variable in .github/workflows/build-and-deploy.yaml

  6. Push branch to GitHub

  7. Create pull request

  8. After all checks have passed, go into the Summary of the Build & Deploy action and download the diffable-output... artifact

  9. Download the diffable-output... artifact from the latest action run on the main branch:

    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

  10. Compare the contents of the two diffable-output... zip files with a diff tool

  11. If ok, merge the pull request