Fix pnpm setup order in GitHub Actions

Move pnpm/action-setup before actions/setup-node to ensure pnpm is available when Node.js setup configures caching. Also updates Claude settings permissions for git commands.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Randy Lu
2025-11-19 16:55:00 +08:00
parent 4a6ec4c3ac
commit 551139e46d
2 changed files with 9 additions and 7 deletions
+4 -1
View File
@@ -26,7 +26,10 @@
"Bash(jq:*)",
"Bash(done)",
"Bash(pnpm exec biome format:*)",
"Bash(gh run list:*)"
"Bash(gh run list:*)",
"Bash(gh release edit:*)",
"Bash(git add:*)",
"Bash(git commit:*)"
],
"deny": [],
"ask": []
+5 -6
View File
@@ -43,18 +43,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- name: setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
package_json_file: package.json
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with: