diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ebcec92..4f3c465 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - run: NODE_ENV=production npm ci + - run: npm ci - run: npm run build --if-present - run: npm test @@ -29,7 +29,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: NODE_ENV=production npm ci - run: npm run build --if-present - - run: npm test - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/package-lock.json b/package-lock.json index 685980e..51dacfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@danny-avila/node-gpt-api", - "version": "1.37.3", + "name": "nodejs-gpt", + "version": "1.37.4", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@danny-avila/node-gpt-api", - "version": "1.37.3", + "name": "nodejs-gpt", + "version": "1.37.4", "license": "MIT", "dependencies": { "@dqbd/tiktoken": "^1.0.2", diff --git a/package.json b/package.json index b16bbf7..6c32b4f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@danny-avila/node-gpt-api", - "version": "1.37.3", + "name": "nodejs-gpt", + "version": "1.37.4", "description": "A ChatGPT implementation using the official ChatGPT model via OpenAI's API.", "main": "index.js", "bin": {