Skip to content

Commit

Permalink
commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tambien committed Apr 25, 2024
1 parent da1aea3 commit 7a1cc85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
with:
node-version: 18.12.0
registry-url: 'https://registry.npmjs.org'
- name: Set git user name/email
run: |
git config --global user.email "actions@github.com"
git config --global user.name "Github Actions Bot"
- name: Install dependencies
run: npm install
- name: Build
Expand All @@ -30,4 +34,6 @@ jobs:
if: ${{ github.ref == 'refs/heads/dev' }}
- name: Publish @latest
run: npm publish
if: ${{ github.ref == 'refs/heads/main' }}
if: ${{ github.ref == 'refs/heads/main' }}
- name: Commit changes
run: git push && git push --tags

0 comments on commit 7a1cc85

Please sign in to comment.