Refactor CI workflows and add Dependabot configuration (#67)

* fix: remove duplicate pnpm setup step in CI and build workflows

* fix: remove version specification for pnpm setup in CI and build workflows

* feat: add Dependabot configuration for GitHub Actions updates

* chore: auto-fix linting and formatting issues
This commit is contained in:
仓鼠
2026-06-04 11:24:59 +08:00
committed by GitHub
parent 20adf873fc
commit 8a2d8d67bd
4 changed files with 28 additions and 12 deletions
+4 -4
View File
@@ -16,16 +16,16 @@ jobs:
with:
fetch-depth: 0
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "pnpm"
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: "11"
- name: Install dependencies
run: pnpm install --frozen-lockfile
+4 -5
View File
@@ -20,17 +20,16 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: "11"
- name: Install dependencies
run: pnpm install --frozen-lockfile