Skip to content

Commit

Permalink
publish to npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
iishiishii committed Apr 28, 2024
1 parent 7d14151 commit 72373dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
# Defaults to the user or organization that owns the workflow file
scope: '@iishiishii'
- run: yarn
- run: yarn publish # for Yarn version 1, use `yarn publish` instead
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@iishiishii/opencv-wasm-ts",
"name": "opencv-wasm-ts",
"version": "4.9.0",
"description": "OpenCV 4.9.0 to JavaScript + WebAssembly for node.js environment",
"main": "cv.js",
Expand Down

0 comments on commit 72373dc

Please sign in to comment.