Skip to content

A local-first personal finance app

fix: trusted publishing requires npm version >= 11.5.1 (#7574)

Julian Dominguez-Schatz3e35d3b6f5ec
diff --git a/.github/workflows/publish-nightly-npm-packages.yml b/.github/workflows/publish-nightly-npm-packages.yml
index 72ecfd0f38..d26f158bd7 100644
--- a/.github/workflows/publish-nightly-npm-packages.yml
+++ b/.github/workflows/publish-nightly-npm-packages.yml
@@ -96,6 +96,9 @@ jobs:
node-version: 22
registry-url: 'https://registry.npmjs.org'
+ - name: Ensure npm 11.5.1 or later for trusted publishing
+ run: npm install -g npm@11
+
- name: Publish Core
run: |
npm publish loot-core/@actual-app/core.tgz --access public --tag nightly
diff --git a/upcoming-release-notes/7574.md b/upcoming-release-notes/7574.md
new file mode 100644
index 0000000000..19c2d84a24
--- /dev/null
+++ b/upcoming-release-notes/7574.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [jfdoming]
+---
+
+Fix trusted publishing by installing npm version 11.5.1