Skip to content

chore: update tooling and dependencies#149

Merged
rbjornstad merged 5 commits into
mainfrom
chore/update-tooling-and-deps
Jun 18, 2026
Merged

chore: update tooling and dependencies#149
rbjornstad merged 5 commits into
mainfrom
chore/update-tooling-and-deps

Conversation

@rbjornstad

Copy link
Copy Markdown
Contributor

Aligns tooling config with nais/console-frontend:

  • pnpm 10 → 11.7.0 (mise.toml + package.json)
  • .npmrc: added save-exact=true and save-prefix= for deterministic installs
  • pnpm-workspace.yaml: added minimumReleaseAge (14 days) and allowBuilds
  • ratchet: added go + ratchet to mise.toml, with mise tasks (ratchet:update, ratchet:upgrade, check:ratchet)
  • GitHub Actions: pinned all actions to SHAs via ratchet
  • Dependencies: updated all packages to latest

- Bump pnpm from 10.24.0 to 11.7.0 (mise.toml + package.json)
- Add .npmrc settings: save-exact, save-prefix
- Add pnpm-workspace.yaml with minimumReleaseAge and allowBuilds
- Add go + ratchet for GitHub Actions pinning
- ratchet:update — pin actions to latest SHA for current tag
- ratchet:upgrade — upgrade actions to latest (deploy.yml only)
- check:ratchet — lint that all actions are pinned
@rbjornstad rbjornstad force-pushed the chore/update-tooling-and-deps branch from 77ee0d7 to f778ccc Compare June 18, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s tooling and dependency management to match the setup used in nais/console-frontend, aiming for more deterministic installs and improved supply-chain hardening for pnpm and GitHub Actions.

Changes:

  • Bumps pnpm to 11.7.0 and updates dependencies/lockfile, switching to exact version specifiers.
  • Adds pnpm workspace security controls (minimumReleaseAge, allowBuilds) and npm save behavior config (save-exact, save-prefix).
  • Introduces mise tasks and tooling for ratchet to pin/lint/upgrade GitHub Actions references.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pnpm-workspace.yaml Adds pnpm workspace-level security/policy configuration.
pnpm-lock.yaml Regenerates lockfile for updated tooling/deps and exact specifiers.
package.json Pins pnpm via packageManager and switches dependencies to exact versions.
mise/tasks/ratchet/upgrade.sh Adds mise task to run ratchet upgrade (currently targeting deploy workflow).
mise/tasks/ratchet/update.sh Adds mise task to run ratchet update across workflows.
mise/tasks/check/ratchet.sh Adds mise check task to lint workflow action pinning.
mise.toml Updates toolchain versions and adds Go + ratchet tool installation.
.npmrc Adds deterministic save settings and reorders config.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pnpm-workspace.yaml Outdated
Comment thread mise.toml
Comment thread mise/tasks/ratchet/update.sh
Comment thread mise/tasks/check/ratchet.sh
Comment thread mise/tasks/ratchet/upgrade.sh Outdated
- Remove duplicate savePrefix from pnpm-workspace.yaml (already in .npmrc)
- Update AGENTS.md node version to 24.14.1
- Add set -euo pipefail to all ratchet task scripts
- Fix upgrade task description to match scope (deploy.yml only)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

@rbjornstad rbjornstad merged commit 5a6cb16 into main Jun 18, 2026
3 checks passed
@rbjornstad rbjornstad deleted the chore/update-tooling-and-deps branch June 18, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants