Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,13 @@ jobs:
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: '24'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile
Comment thread
elrrrrrrr marked this conversation as resolved.

- name: Run lint
run: pnpm run lint

- name: Check dedupe
run: pnpm dedupe --check

- name: Run typecheck
run: pnpm run typecheck
Comment on lines 41 to 45
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description lists only lockfile removal and switching CI installs to --no-frozen-lockfile, but this workflow change also removes the pnpm dedupe --check step. If this is intentional, please update the PR description; otherwise consider re-adding the dedupe check to keep the existing CI guardrail.

Copilot uses AI. Check for mistakes.

Expand Down Expand Up @@ -161,10 +157,9 @@ jobs:
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile

- name: Run tests
run: pnpm run ci
Expand Down Expand Up @@ -206,10 +201,9 @@ jobs:
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile

- name: Run tests
run: |
Expand Down Expand Up @@ -248,10 +242,9 @@ jobs:
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile

- name: Run tests
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,9 @@ jobs:
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: ${{ matrix.project.node-version }}
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile

- name: Build all packages
run: pnpm build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,10 @@ jobs:
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6
with:
node-version: '24'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install --no-frozen-lockfile
Copy link

Copilot AI Apr 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using pnpm install --no-frozen-lockfile in the release workflow makes the release build non-reproducible (dependency graph can change between runs without any git changes), which increases the risk of publishing broken or unverifiable artifacts. Consider keeping releases deterministic (e.g., commit a lockfile and use --frozen-lockfile at least for release.yml), while running the unlocked-deps experiment in a separate CI workflow.

Suggested change
run: pnpm install --no-frozen-lockfile
run: pnpm install --frozen-lockfile

Copilot uses AI. Check for mistakes.

- name: Configure Git
run: |
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ package-lock.json
.tshy*
dist
site/.dumi/
!pnpm-lock.yaml

!packages/egg/test/fixtures/apps/loader-plugin/node_modules
!packages/egg/test/fixtures/apps/app-ts/node_modules
Expand Down Expand Up @@ -117,4 +116,5 @@ tegg/plugin/tegg/test/fixtures/apps/**/*.js
*.tgz

ecosystem-ci/cnpmcore
ecosystem-ci/examples
ecosystem-ci/examples
pnpm-lock.yaml
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"tsdown": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"unplugin-unused": "catalog:",
Comment thread
elrrrrrrr marked this conversation as resolved.
"urllib": "catalog:",
"vitest": "catalog:"
Comment thread
elrrrrrrr marked this conversation as resolved.
},
Expand Down
Loading
Loading