Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
runmaxde authored Feb 13, 2024
1 parent f4d7b37 commit 2e1cfd5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
registry-url: 'https://registry.npmjs.org'
uses: actions/[email protected]

- name: Validate version input
run: |
Expand All @@ -38,6 +35,7 @@ jobs:
git config user.email [email protected]
VERSION=$(npm version ${{ github.event.inputs.version }})
echo "$VERSION" > VERSION.txt
git add .
git commit -am "chore(release): $VERSION"
git push
Expand Down

0 comments on commit 2e1cfd5

Please sign in to comment.