diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index cdc1e52..5df971e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,6 +13,6 @@ jobs: node-version: '16.x' registry-url: 'https://registry.npmjs.org' - run: npm ci - - run: npm publish + - run: npm publish --@michaelallenwarner:registry=https://npm.pkg.github.com/ --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..2c30e09 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@michaelallenwarner:registry=https://npm.pkg.github.com diff --git a/package.json b/package.json index 0c1094c..ca096ac 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "el-is", + "name": "@michaelallenwarner/el-is", "version": "1.0.0", "description": "A tiny TypeScript type guard (predicate-function) for narrowing a DOM element by tag-name.", "main": "./lib/index.js",