Skip to content

Fixes namespace for new private npm package #2

Fixes namespace for new private npm package

Fixes namespace for new private npm package #2

Workflow file for this run

name: Build and publish package
on:
push:
branches:
- master
- feature/gh-action-for-roll20-registry
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [17.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
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 npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}