Skip to content

Commit 8cb4c1d

Browse files
committed
Add documentation for required workflow updates
Due to OAuth scope limitations, workflow files cannot be pushed directly. This document provides instructions for manually updating the GitHub workflows to use Node.js instead of Bun.
1 parent 84262b2 commit 8cb4c1d

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

WORKFLOW_UPDATES.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# GitHub Workflow Updates Required
2+
3+
Due to OAuth token scope limitations, the following workflow files need to be updated manually to complete the Bun to Node.js migration:
4+
5+
## Files to Update
6+
7+
### 1. `.github/workflows/format-check.yml`
8+
9+
Replace the Bun setup and commands with Node.js:
10+
11+
```yaml
12+
# Replace lines 19-37 with:
13+
- name: Setup Node.js
14+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
15+
with:
16+
node-version: "22"
17+
cache: "npm"
18+
19+
- name: Install dependencies
20+
run: npm ci
21+
22+
- name: Check formatting
23+
run: npm run format:check
24+
25+
- name: Check if files would change
26+
run: |
27+
if ! git diff --exit-code; then
28+
echo "❌ Files are not properly formatted. Run 'npm run format' to fix."
29+
exit 1
30+
else
31+
echo "✅ All files are properly formatted."
32+
fi
33+
```
34+
35+
### 2. `.github/workflows/release.yml`
36+
37+
Replace the Bun setup with Node.js:
38+
39+
```yaml
40+
# Replace lines 23-29 with:
41+
- name: Setup Node.js
42+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
43+
with:
44+
node-version: "22"
45+
cache: "npm"
46+
47+
- name: Install dependencies
48+
run: npm ci
49+
```
50+
51+
## How to Apply
52+
53+
You can apply these changes by:
54+
55+
1. Manually editing the files in the GitHub web interface
56+
2. Using a local git client with proper credentials
57+
3. Applying the staged changes from this branch (they're already prepared)
58+
59+
## Verification
60+
61+
After updating, the workflows should:
62+
- Use Node.js 22 instead of Bun
63+
- Use `npm ci` for installing dependencies
64+
- Use `npm run` for running scripts
65+
- Reference npm commands in error messages
66+

0 commit comments

Comments
 (0)