We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8371a07 commit 9409424Copy full SHA for 9409424
1 file changed
.github/workflows/release.yml
@@ -31,3 +31,23 @@ jobs:
31
args: release --clean
32
env:
33
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34
+ HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
35
+
36
+ - name: Set up Node.js
37
+ uses: actions/setup-node@v4
38
+ with:
39
+ node-version: "20"
40
+ registry-url: "https://registry.npmjs.org"
41
42
+ - name: Update npm package version
43
+ run: |
44
+ VERSION=${GITHUB_REF_NAME#v}
45
+ cd npm
46
+ npm version "$VERSION" --no-git-tag-version
47
48
+ - name: Publish to npm
49
50
51
+ npm publish --access public
52
+ env:
53
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments