Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dxpm committed Dec 18, 2023
1 parent 537f893 commit 3288d05
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- uses: actions/setup-node@v3
with:
node-version: '18.x'
Expand All @@ -20,9 +18,9 @@ jobs:
- run: yarn install --frozen-lockfile
- run: git config user.email "[email protected]"
- run: git config user.name "dxpm"
- run: npm version minor --no-git-tag-version
- run: git commit -a -m "Bump package version"
- run: git push origin ${{ github.ref }}
- run: npm version from-git --no-git-tag-version
- run: git commit -am "Bump package version"
- run: git push origin master
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPMJS_DEVEXPERTS_BOT_PUBLISH_TOKEN}}

0 comments on commit 3288d05

Please sign in to comment.