Skip to content

Commit

Permalink
Fixes namespace for new private npm package
Browse files Browse the repository at this point in the history
Co-authored-by: Ian-Howard-R20 <[email protected]>
  • Loading branch information
danielxvu and Ian-Howard-R20 committed Oct 13, 2023
1 parent 6c74132 commit d65176a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Node.js Build
name: Build and publish package

on: [push]
on:
push:
branches:
- master
- feature/gh-action-for-roll20-registry

jobs:
build:
Expand All @@ -13,16 +17,18 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com/
# Defaults to the user or organization that owns the workflow file
scope: '@roll20'
- run: yarn install
- run: yarn build
# - run: npm test
env:
CI: true
- run: yarn publish
- run: yarn npm 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,5 +1,5 @@
{
"name": "canvas-txt",
"name": "@roll20/canvas-txt",
"version": "4.2.0",
"description": "Render multiline textboxes in HTML5 canvas with auto line breaks and better alignment system",
"files": [
Expand Down

0 comments on commit d65176a

Please sign in to comment.