Skip to content

Commit

Permalink
fixing npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ganezdragon committed Mar 29, 2024
1 parent e25e7f2 commit a90abd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20.11.1
- run: npm ci
- run: npm test
- run: npm run pre-build
- run: npm run build
- run: npm test

publish-to-npm:
needs: build
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20.11.1
registry-url: https://registry.npmjs.org/

- name: Publish to npm
Expand All @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20.11.1
registry-url: https://npm.pkg.github.com/
scope: "@ganezdragon"
- run: npm publish --access public
Expand Down

0 comments on commit a90abd9

Please sign in to comment.