-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove npm version from package json
- Loading branch information
1 parent
2af0d86
commit ef02a0d
Showing
3 changed files
with
2 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,25 +57,15 @@ jobs: | |
git config --global user.name "Github Bot" | ||
git config --global user.email "[email protected]" | ||
- name: Checkout master | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: "master" | ||
|
||
- name: Create .npmrc file | ||
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Bump NPM version | ||
run: npm --no-git-tag-version version ${{ steps.vars.outputs.tag }} | ||
run: npm --no-git-tag-version --allow-same-version version ${{ steps.vars.outputs.tag }} | ||
|
||
- name: NPM publish | ||
run: npm publish --access public | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Push changes | ||
run: git push | ||
env: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters