Skip to content

Commit

Permalink
fix: publish-process
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor committed Jul 23, 2021
1 parent 1de9ccf commit ba900cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn run build
- run: npm run clean-publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spacing-helper",
"version": "4.1.4",
"version": "4.1.5",
"description": "Standalone helper for creating consistent spacing between the elements of your UI",
"source": "src/index.js",
"main": "build/index.js",
Expand Down Expand Up @@ -38,7 +38,6 @@
"build:js": "terser --compress --comments=false --mangle --module --output ./build/index.js -- ./src/index.js",
"copy:types": "cp src/index.d.ts ./build/index.d.ts",
"build": "rm -rf ./build && mkdir ./build && yarn run build:js && yarn run copy:types",
"prepublishOnly": "yarn run build",
"test": "NODE_OPTIONS=--experimental-vm-modules npx jest --coverage --no-cache",
"clean-publish": "clean-publish"
},
Expand Down

0 comments on commit ba900cf

Please sign in to comment.