Skip to content

Commit

Permalink
try publishing without the node script
Browse files Browse the repository at this point in the history
  • Loading branch information
scottbedard committed Apr 10, 2020
1 parent 8bbfad1 commit ce6cb15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
- run: npm run publish
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"svelte"
],
"license": "MIT",
"main": "index.js",
"module": "index.esm.js",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"name": "svelte-heatmap",
"repository": {
"type": "git",
Expand All @@ -36,10 +36,9 @@
"svelte": "src/index.js",
"scripts": {
"build": "rollup -c",
"publish": "node ./scripts/publish.js",
"test": "jest",
"watch": "rollup -c -w"
},
"unpkg": "index.umd.min.js",
"unpkg": "dist/index.umd.min.js",
"version": "1.0.0-beta.0"
}
15 changes: 0 additions & 15 deletions scripts/publish.js

This file was deleted.

0 comments on commit ce6cb15

Please sign in to comment.