We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f480cba commit 7f82ddeCopy full SHA for 7f82dde
1 file changed
.github/workflows/npm-publish.yml
@@ -1,17 +1,17 @@
1
name: Publish to npm
2
-
3
on:
4
push:
5
branches:
6
- main
7
8
jobs:
9
publish:
10
runs-on: ubuntu-latest
11
12
steps:
13
- name: Checkout repository
14
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ token: ${{ secrets.GITHUB_TOKEN }}
15
16
- name: Setup Node.js
17
uses: actions/setup-node@v4
@@ -29,6 +29,7 @@ jobs:
29
run: |
30
git config --global user.name "github-actions[bot]"
31
git config --global user.email "github-actions[bot]@users.noreply.github.com"
32
+ git pull --rebase origin main
33
npm version patch -m "chore: bump version to %s [skip ci]"
34
git push origin main --follow-tags
35
0 commit comments