Skip to content

High performance self-hosted photo and video management solution.

chore(cli): set cli workdir in npm publish (#5185)

Jonathan Jogenfors81259115d1fd
diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml
index c911fd40bf..ee84039f17 100644
--- a/.github/workflows/cli-release.yml
+++ b/.github/workflows/cli-release.yml
@@ -5,10 +5,14 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: ./cli
+
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- - uses: actions/setup-node@v2
+ - uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
diff --git a/cli/package.json b/cli/package.json
index 4d7ebfc969..4a89bdc05b 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -74,5 +74,10 @@
},
"coverageDirectory": "./coverage",
"testEnvironment": "node"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/immich-app/immich.git",
+ "directory": "cli"
}
}