-
Notifications
You must be signed in to change notification settings - Fork 11
Remove dependency on bun #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
d2706eb
b9efe0e
34609e2
9c69e93
332431a
f807786
245acd7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,12 +60,11 @@ runs: | |
| - name: Setup Auggie | ||
| run: npm install -g @augmentcode/auggie | ||
| shell: bash | ||
| - name: Setup Bun | ||
| uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2 | ||
| with: | ||
| bun-version: latest | ||
| - name: Test list directory | ||
| run: ls | ||
|
||
| shell: bash | ||
|
||
| - name: Run Augment Agent | ||
| run: bun run $GITHUB_ACTION_PATH/src/index.ts | ||
| run: npm run $GITHUB_ACTION_PATH/src/index.ts | ||
| shell: bash | ||
| env: | ||
| INPUT_AUGMENT_SESSION_AUTH: ${{ inputs.augment_session_auth }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Critical Issue: The command
npm run $GITHUB_ACTION_PATH/src/index.tsis incorrect and will fail.npm runexpects a script name defined in package.json, not a file path. For example,npm run devornpm run test.Current code:
The problem: There's no script in package.json that matches this path, and npm run doesn't accept file paths as arguments.
Suggested approach: You need to either:
(Requires adding
tsxas a dependency)Note: Option 2 is the simplest since Node 22 is already being set up, but it's still experimental. Option 1 with tsx is more stable.