Skip to content

Commit 65887a9

Browse files
committed
fix: beta-release with correct path
1 parent 49f87bc commit 65887a9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/beta-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@ jobs:
3131
always-auth: true
3232

3333
- name: Install dependencies
34+
working-directory: extensions/cli
3435
run: npm ci
3536
env:
3637
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3738

3839
- name: Get current version
3940
id: get_version
41+
working-directory: extensions/cli
4042
run: |
4143
# Get the latest version from package.json or npm registry
4244
CURRENT_VERSION=$(node -p "require('./package.json').version")
@@ -65,14 +67,17 @@ jobs:
6567
echo "date_suffix=$DATE_SUFFIX" >> $GITHUB_OUTPUT
6668
6769
- name: Update package.json for beta
70+
working-directory: extensions/cli
6871
run: |
6972
# Update version in package.json
7073
npm version ${{ steps.get_version.outputs.beta_version }} --no-git-tag-version
7174
7275
- name: Build
76+
working-directory: extensions/cli
7377
run: npm run build
7478

7579
- name: Publish beta to npm
80+
working-directory: extensions/cli
7681
env:
7782
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7883
run: |
@@ -93,4 +98,4 @@ jobs:
9398
gh release create "v${{ steps.get_version.outputs.beta_version }}" \
9499
--title "Beta Release v${{ steps.get_version.outputs.beta_version }}" \
95100
--notes "Daily beta release for testing. This version will be promoted to stable after 7 days if no critical issues are found." \
96-
--prerelease
101+
--prerelease

0 commit comments

Comments
 (0)