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 fd68cde commit e25e7f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
node-version: 16
- run: npm ci
- run: npm test
- run: npm run pre-build
Expand All @@ -23,12 +23,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 20
node-version: 16
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: 20
node-version: 16
registry-url: https://npm.pkg.github.com/
scope: "@ganezdragon"
- run: npm publish --access public
Expand Down

0 comments on commit e25e7f2

Please sign in to comment.