Skip to content

Commit

Permalink
Add npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Daninet committed Jul 2, 2022
1 parent 30954ab commit 5d92515
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc

# - run: npm publish
# env:
# CI: true
- run: npm publish
env:
CI: true
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
lib
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "WebAssembly version of the Rubber Band Library (high quality software library for audio time-stretching and pitch-shifting)",
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types": "dist/types/src/index.d.ts",
"types": "dist/types/index.d.ts",
"scripts": {
"build-bindings": "sh -c ./build.sh",
"build-rollup": "rollup -c",
Expand Down

0 comments on commit 5d92515

Please sign in to comment.