Node setup doesn't work for compose actions #2

Closed
opened 2025-10-08 15:46:18 +02:00 by t.behrendt · 1 comment
Owner

- uses: actions/setup-node@v5

Setting up node with a nvmrc file doesn't work for compose actions. Same for installing the deps. Node needs to be setup with a fixed version and a package.json also doesn't work. So use npx directly.

https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action/src/commit/2e2dcc7fbe31bd45bdae99db4784f439714b7b8b/action.yml#L13 Setting up node with a nvmrc file doesn't work for compose actions. Same for installing the deps. Node needs to be setup with a fixed version and a package.json also doesn't work. So use npx directly.
t.behrendt added the bug label 2025-10-08 15:46:18 +02:00
t.behrendt added reference fix-package-setup 2025-10-08 15:52:47 +02:00
Author
Owner

Fixed with merge of #3

Fixed with merge of https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action/pulls/3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: t.behrendt/validate-json-by-json-schema-action#2