Skip to content

A local-first personal finance app

Force node version 24 for trusted publishing (#7577)

Julian Dominguez-Schatz664cfdf2440c
diff --git a/.github/workflows/publish-nightly-npm-packages.yml b/.github/workflows/publish-nightly-npm-packages.yml
index d26f158bd7..3a857abc6e 100644
--- a/.github/workflows/publish-nightly-npm-packages.yml
+++ b/.github/workflows/publish-nightly-npm-packages.yml
@@ -93,12 +93,10 @@ jobs:
- name: Setup node and npm registry
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
- node-version: 22
+ node-version: 24
+ check-latest: true
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/7577.md b/upcoming-release-notes/7577.md
new file mode 100644
index 0000000000..2451402aad
--- /dev/null
+++ b/upcoming-release-notes/7577.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [jfdoming]
+---
+
+Update nightly package publishing workflow to use Node.js 24