Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
 -f flag add
  • Loading branch information
dotoritos-kim authored Aug 10, 2024
1 parent 75c54e2 commit 0365906
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: dxf-json package

on:
push:
tags:
- '*'
branches:
- main

Expand Down Expand Up @@ -54,7 +52,7 @@ jobs:
- run: git config --global user.name "${{ github.actor }}"
- run: git config --global user.email "github-action-${{ github.actor }}@users.noreply.github.com"
- run: npm run build
- run: npm version ${{ steps.tag_version.outputs.new_tag }}
- run: npm version ${{ steps.tag_version.outputs.new_tag }} -f
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 0365906

Please sign in to comment.