Merge pull request #7273 from continuedev/nate/fix-cn-import-warnings

fix: beta-release with correct path
This commit is contained in:
Nate Sesti 2025-08-20 19:23:35 -07:00 • committed by GitHub
commit 1220021909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,12 +31,14 @@ jobs:
always-auth: true
- name: Install dependencies
working-directory: extensions/cli
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Get current version
id: get_version
working-directory: extensions/cli
run: |
# Get the latest version from package.json or npm registry
CURRENT_VERSION=$(node -p "require('./package.json').version")
@ -65,14 +67,17 @@ jobs:
echo "date_suffix=$DATE_SUFFIX" >> $GITHUB_OUTPUT
- name: Update package.json for beta
working-directory: extensions/cli
run: |
# Update version in package.json
npm version ${{ steps.get_version.outputs.beta_version }} --no-git-tag-version
- name: Build
working-directory: extensions/cli
run: npm run build
- name: Publish beta to npm
working-directory: extensions/cli
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
@ -93,4 +98,4 @@ jobs:
gh release create "v${{ steps.get_version.outputs.beta_version }}" \
--title "Beta Release v${{ steps.get_version.outputs.beta_version }}" \
--notes "Daily beta release for testing. This version will be promoted to stable after 7 days if no critical issues are found." \
--prerelease
--prerelease