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