Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zastrowm committed Feb 4, 2024
1 parent 9296c78 commit ab7a811
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
- run: corepack enable
- run: yarn install
- run: yarn run build
- run: cd ./dist
- run: npx release-it --dry-run --ci --preRelease=preview

publish-npm:
needs: build
Expand All @@ -31,4 +29,5 @@ jobs:
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: cd ./dist
- run: npx release-it --ci --preRelease=preview
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@
},
"release-it": {
"git": {
"requireCleanWorkingDir": false,
"commit": false,
"push": false
},
"npm": {
"publish": false,
"ignoreVersion": true
"ignoreVersion": true,
"publish": true,
"publishArgs": "--dry-run"
},
"github": {
"release": true
Expand Down

0 comments on commit ab7a811

Please sign in to comment.