Skip to content

Commit

Permalink
feat: publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlyall committed Aug 10, 2023
1 parent fb81287 commit 0aa7bf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
registry-url: "https://npm.pkg.github.com"
scope: "@krystal"
registry-url: "https://registry.npmjs.org"
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
"./src/**/*.js"
],
"main": "src/index.js",
"name": "@krystal/shard-tailwind",
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"scope": "@krystal"
},
"name": "krystal-shard-tailwind",
"repository": {
"type": "git",
"url": "https://github.com/krystal/shard-tailwind.git"
Expand Down

0 comments on commit 0aa7bf0

Please sign in to comment.