Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig committed Mar 25, 2024
1 parent 9deedd9 commit c9f3758
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ jobs:
# - name: ci
# run: npm ci
- name: publish-gh
run: npm publish --access=public
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
@noclocks:registry=https://npm.pkg.github.com
@noclocksdev:registry=https://registry.npmjs.org

//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
registry=https://registry.npmjs.org/
always-auth=true

//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
registry=https://npm.pkg.github.com
always-auth=true
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@noclocksdev/eslint-config-noclocks",
"name": "@noclocks/eslint-config-noclocks",
"version": "1.0.3",
"description": "No Clocks ESLint Config",
"main": ".eslintrc.js",
Expand Down Expand Up @@ -39,5 +39,8 @@
"bugs": {
"url": "https://github.com/noclocks/eslint-config-noclocks/issues"
},
"homepage": "https://github.com/noclocks/eslint-config-noclocks#readme"
"homepage": "https://github.com/noclocks/eslint-config-noclocks#readme",
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
}
}

0 comments on commit c9f3758

Please sign in to comment.