We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ce25e6 commit 6bc74d8Copy full SHA for 6bc74d8
1 file changed
.github/workflows/npm-deploy.yml
@@ -83,22 +83,13 @@ jobs:
83
uses: oven-sh/setup-bun@v2
84
85
- name: Install dependencies
86
- run: bun install --frozen-lockfile
+ run: bun install
87
88
- name: Build package
89
run: bun run build
90
91
- name: Publish to npm
92
- run: |
93
- # strip “refs/heads/” prefix
94
- BRANCH=${GITHUB_REF#refs/heads/}
95
- if [[ "$BRANCH" == "1.x" ]]; then
96
- echo "Publishing to npm under the 'beta' tag"
97
- bun publish --tag beta
98
- else
99
- echo "Publishing to npm under the 'latest' tag"
100
- bun publish
101
- fi
+ run: bun publish
102
env:
103
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
104
0 commit comments