Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ jobs:
node-version: '20'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm install

- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
Expand All @@ -40,6 +37,14 @@ jobs:
- name: Bump version
run: "npm version ${{ github.event.inputs.release_type }} -m 'chore: release v%s'"
Comment on lines 37 to 38

- name: Install dependencies
run: npm install

- name: Commit lockfile if changed
run: |
git add package-lock.json || true
git diff --cached --quiet || git commit -m 'chore: update package-lock.json'

Comment on lines +41 to +47
- name: Push changes and tags
run: |
git pull --rebase origin main
Expand Down