From 470d22d4706b15cfbf24c7042ddd998d931f50c2 Mon Sep 17 00:00:00 2001 From: Ricardo Lavor Date: Sun, 20 Mar 2022 22:25:57 -0300 Subject: [PATCH] --- .github/workflows/publish.yml | 4 +--- .npmrc | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .npmrc 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",