Skip to content

Commit

Permalink
chore(actions): add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Jun 5, 2023
1 parent c8367e4 commit 114bdbf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"browser": "./dist/index.umd.js"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://registry.npmjs.org"
},
"files": [
"dist/*",
Expand All @@ -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": {
Expand Down

0 comments on commit 114bdbf

Please sign in to comment.