Skip to content

Commit

Permalink
Merge pull request #2277 from coqui-ai/publish-wasm-npm
Browse files Browse the repository at this point in the history
Publish WASM package to npmjs.com and GitHub releases
  • Loading branch information
reuben authored Aug 3, 2022
2 parents 2065076 + 5c2018e commit 7f50e0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ jobs:
name: "Upload STT packages to npmjs.com"
runs-on: ubuntu-20.04
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
needs: [create-release, repackage-nodejs-allplatforms]
needs: [create-release, repackage-nodejs-allplatforms, build-wasm]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand All @@ -1412,6 +1412,10 @@ jobs:
with:
name: stt-tflite.tgz
path: ${{ github.workspace }}/
- uses: actions/download-artifact@v2
with:
name: libstt.tflite.wasm.es6.tgz
path: ${{ github.workspace }}/
- run: |
npm publish --access=public --verbose ${{ github.workspace }}/stt-*.tgz --tag ${{ steps.compute-npm-tag.outputs.npm-tag }}
env:
Expand Down

0 comments on commit 7f50e0a

Please sign in to comment.