Skip to content

Commit

Permalink
use yarn to publish npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Mar 18, 2024
1 parent 510eca6 commit 035b2f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/npmpackage.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn
- run: yarn npm publish
- run: |
corepack enable
yarn set version stable
yarn
yarn npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ __metadata:
version: 8
cacheKey: 10c0

"@JohnRDOrazio/jquery-clock-plugin@workspace:.":
"@johnrdorazio/jquery-clock-plugin@workspace:.":
version: 0.0.0-use.local
resolution: "@JohnRDOrazio/jquery-clock-plugin@workspace:."
resolution: "@johnrdorazio/jquery-clock-plugin@workspace:."
dependencies:
jquery: "npm:~3"
languageName: unknown
Expand Down

0 comments on commit 035b2f5

Please sign in to comment.