Skip to content

Commit e70c49d

Browse files
committed
feat: update Node.js version to latest and enhance JSR to NPM conversion logging
1 parent 316adfa commit e70c49d

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Setup Node.js
2525
uses: actions/setup-node@v4
2626
with:
27-
node-version: "20"
27+
node-version: "latest"
2828
registry-url: "https://registry.npmjs.org"
2929

3030
- name: Run tests
@@ -37,7 +37,15 @@ jobs:
3737
run: deno publish
3838

3939
- name: Run JSR to NPM conversion
40-
run: npx -y @yaonyan/jsr2npm@latest
40+
run: |
41+
echo "Node version: $(node --version)"
42+
echo "NPM version: $(npm --version)"
43+
echo "Current directory: $(pwd)"
44+
echo "Config file exists: $(test -f jsr2npm.config.json && echo 'yes' || echo 'no')"
45+
echo "Running jsr2npm conversion..."
46+
npx -y @yaonyan/jsr2npm@latest --verbose || echo "jsr2npm exit code: $?"
47+
echo "Conversion completed. Checking output..."
48+
ls -la __*_*/ 2>/dev/null || echo "No output directories found yet"
4149
4250
- name: Publish to npm
4351
run: |

0 commit comments

Comments
 (0)