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 9dd0f9b commit 9ad5af7Copy full SHA for 9ad5af7
.github/workflows/npm-publish.yaml
@@ -9,7 +9,7 @@ jobs:
9
publish-npm:
10
runs-on: ubuntu-latest
11
permissions:
12
- contents: read
+ contents: write
13
id-token: write # Allows GitHub to generate OIDC tokens required for provenance
14
15
steps:
@@ -41,3 +41,13 @@ jobs:
41
- run: npm publish --provenance --access=public
42
env:
43
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
44
+
45
+ - name: Commit package version
46
+ run: |
47
+ git config --global user.name "boba-tan[bot]"
48
+ git config --global user.email "boba-tan[bot]@users.noreply.github.com"
49
50
+ git add package.json package-lock.json
51
52
+ # The [skip ci] in the commit message prevents this commit from re-triggering workflows.
53
+ git commit -m "${VERSION} has shipped ⛵🌟💖 [skip ci]"
0 commit comments