Skip to content

Commit

Permalink
fix: add npmrc and attempt to fix publish
Browse files Browse the repository at this point in the history
yml and package.json
  • Loading branch information
Michael Warner authored and Michael Warner committed Sep 13, 2023
1 parent e7c51c9 commit e29a87c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@michaelallenwarner:registry=https://npm.pkg.github.com
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit e29a87c

Please sign in to comment.