diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e91ce02..cdfe758 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,9 +28,7 @@ jobs: - run: npm --no-git-tag-version version $TAG env: TAG: ${{ github.event.release.tag_name }} - - run: npm ci - - run: echo "@casamagalhaes:registry = https://npm.pkg.github.com/" > .npmrc - - run: npm publish + - run: npm ci && npm publish env: NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_GITHUB_TOKEN }} diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..e75a636 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@casamagalhaes:registry = https://npm.pkg.github.com/ \ No newline at end of file diff --git a/package.json b/package.json index 716f0b7..51de11b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "caxa", + "name": "@casamagalhaes/caxa", "version": "2.1.0", "description": "Package Node.js applications into executable binaries", "main": "distribution/index.js",