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 54f5c76 commit 5afd819Copy full SHA for 5afd819
.github/workflows/publish-beta.yml
@@ -5,7 +5,7 @@ on:
5
types: [published]
6
7
permissions:
8
- contents: read
+ contents: write
9
id-token: write
10
11
jobs:
@@ -45,5 +45,13 @@ jobs:
45
echo "tag=latest" >> $GITHUB_OUTPUT
46
fi
47
48
+ - name: Configure git
49
+ run: |
50
+ git config user.name "GitHub CD"
51
+ git config user.email "github-cd@example.com"
52
+
53
+ - name: Set package version
54
+ run: npm version ${{ github.event.release.tag_name }} --no-git-tag-version
55
56
- name: Publish to npm
57
run: npm publish --provenance --access public --tag ${{ steps.npm_tag.outputs.tag }}
0 commit comments