diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index e6bd36d..179437b 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -29,9 +29,10 @@ jobs: # Setup .npmrc file to publish to npm - uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: 20.x registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish --provenance --access public + always-auth: true + - run: yarn + - run: yarn publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index e56d975..0bad38a 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,19 @@ "name": "kc-sf-plugin", "description": "Various commands for enabling salesforce development with the sf cli", "version": "1.1.0", + "publishConfig": { + "registry": "https://npm.pkg.github.com", + "access": "public" + }, + "main": "src/index.ts", + "repository": { + "type": "git", + "url": "git+https://github.com/k-capehart/kc-sf-plugin.git" + }, + "bugs": { + "url": "https://github.com/k-capehart/kc-sf-plugin/issues" + }, + "homepage": "https://github.com/k-capehart/kc-sf-plugin#readme", "dependencies": { "@oclif/core": "^3.26.2", "@salesforce/core": "^7.3.8", @@ -72,9 +85,6 @@ "test:only": "wireit", "version": "oclif readme" }, - "publishConfig": { - "access": "public" - }, "wireit": { "build": { "dependencies": [