Skip to content

Commit

Permalink
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -17,8 +17,6 @@ jobs:
- run: yarn
- run: yarn build
- run: node pre-publish.js
- run: echo $(NODE_AUTH_TOKEN)
- run: npm config set -- '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
- run: npm publish dist --access public
- run: npm publish ./dist --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flipper-ui",
"version": "0.26.0",
"version": "0.26.1",
"description": "",
"main": "dist/index.js",
"homepage": "https://flipper-ui.ngi.com.br/",
@@ -24,7 +24,7 @@
"docs:build": "build-storybook -o docs",
"type-check": "tsc --noEmit",
"deploy": "gh-pages -d docs",
"release": "yarn build && node pre-publish.js && npm publish dist --access public"
"release": "yarn build && node pre-publish.js && npm publish ./dist --access public"
},
"author": "NG Informática",
"license": "MIT",
@@ -95,5 +95,11 @@
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.js"
]
},
"publishConfig": {
"ignore": [
"!dist/",
"!/node_modules/"
]
}
}

0 comments on commit 77421eb

Please sign in to comment.