Skip to content

Commit

Permalink
Add support for publishing to private npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxvu committed Oct 13, 2023
1 parent 3ccd115 commit 6c74132
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com/
- run: yarn install
- run: yarn build
# - run: npm test
env:
CI: true
- run: yarn publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "canvas-txt",
"version": "4.1.1",
"version": "4.2.0",
"description": "Render multiline textboxes in HTML5 canvas with auto line breaks and better alignment system",
"files": [
"dist"
Expand Down

0 comments on commit 6c74132

Please sign in to comment.