diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5baae7b1..5c942e93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,16 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm ci --prefer-offline + - run: | + set -ex + git config color.status always + env + hostname + whoami + node --version + npm --version + cat ~/.npmrc || true + - name: Create a Release Pull Request or Publish to Registry id: changesets uses: changesets/action@v1 @@ -30,6 +40,16 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: | + set -ex + git config color.status always + env + hostname + whoami + node --version + npm --version + cat ~/.npmrc || true + - name: Publish Released Documentation if: steps.changesets.outputs.published == 'true' uses: ./.github/workflows/github-pages.yml diff --git a/package.json b/package.json index ef8dcfcd..61c40d4b 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "browser": "./dist/index.umd.js" }, "publishConfig": { - "access": "public" + "access": "public", + "registry": "https://registry.npmjs.org" }, "files": [ "dist/*", @@ -31,7 +32,7 @@ "storybook": "storybook dev -p 6006", "build-storybook": "storybook build", "prepare": "husky install", - "version": "changeset version", + "version": "changeset version && npm install --package-lock-only", "release": "npm run build && changeset publish" }, "lint-staged": {