ci: Switch from GitLab Package Registry to npmjs for publishing
This commit is contained in:
@@ -10,9 +10,7 @@ semantic-release:
|
||||
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||
- ssh-keyscan -H gitlab.com >> ~/.ssh/known_hosts
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- |
|
||||
echo "@carealytix:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/" >> .npmrc
|
||||
echo "//${CI_SERVER_HOST}/api/v4/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=${CI_JOB_TOKEN}" >> .npmrc
|
||||
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
|
||||
- npm install
|
||||
- npm run build
|
||||
script:
|
||||
|
||||
12
README.md
12
README.md
@@ -30,18 +30,6 @@ Codewalkers coordinates agents from different providers (Claude, Codex, Gemini,
|
||||
|
||||
### Install
|
||||
|
||||
**1. Configure your `.npmrc` to use the GitLab Package Registry:**
|
||||
|
||||
```sh
|
||||
# Project-level .npmrc (recommended) — or add to ~/.npmrc for global config
|
||||
@carealytix:registry=https://gitlab.com/api/v4/projects/<PROJECT_ID>/packages/npm/
|
||||
//gitlab.com/api/v4/projects/<PROJECT_ID>/packages/npm/:_authToken=<YOUR_TOKEN>
|
||||
```
|
||||
|
||||
Replace `<PROJECT_ID>` with the GitLab project ID and `<YOUR_TOKEN>` with a personal access token (scope: `read_api`) or deploy token.
|
||||
|
||||
**2. Install globally:**
|
||||
|
||||
```sh
|
||||
npm install -g @carealytix/codewalkers
|
||||
```
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
"url": "git@gitlab.com:carealytix/tools/codewalkers.git"
|
||||
},
|
||||
"license": "UNLICENSED",
|
||||
"publishConfig": {
|
||||
"registry": "https://registry.npmjs.org/",
|
||||
"access": "restricted"
|
||||
},
|
||||
"workspaces": [
|
||||
"apps/*",
|
||||
"packages/*"
|
||||
|
||||
Reference in New Issue
Block a user