Skip to content

Conversation

@brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Dec 1, 2025

This PR does two things:

  1. Syncs with main to fix the release workflow permissions
  2. Updates the package.json to include playwright-core as a dev dependency

Without playwright-core the release fails with the following:

[ ERROR ]  TypeScript: node_modules/@axe-core/playwright/dist/index.d.ts:2:22
           Cannot find module 'playwright-core' or its corresponding type
           declarations.

      L1:  import { SerialFrameSelector, RunOptions, AxeResults } from 'axe-core';
      L2:  import { Page } from 'playwright-core';

[24:28.0]  build failed in 9.13 s

Here is an example release off this branch that shows it now working: 19839160142

This error did not happen on main due to differences in the lockfile, so I updated main on PR #30827 so that these would be aligned with each other.

brandyscarney and others added 2 commits December 1, 2025 15:10
…30814)

Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
The workflow permissions update did not work due to it being nested in a
workflow that only had `read` permissions.

You can see a failing run here (scroll down to annotations):
[19828029833](https://github.com/ionic-team/ionic-framework/actions/runs/19828029833)

```
Invalid workflow file: .github/workflows/release-orchestrator.yml#L71
The workflow is not valid. .github/workflows/release-orchestrator.yml (Line: 71, Col: 3): Error calling workflow 'ionic-team/ionic-framework/.github/workflows/release.yml@b4e540d'. The nested job 'finalize-release' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/release-orchestrator.yml (Line: 71, Col: 3): Error calling workflow 'ionic-team/ionic-framework/.github/workflows/release.yml@b4e540d'. The nested job 'update-package-lock' is requesting 'contents: write', but is only allowed 'contents: read'.
```

This updates the parent workflow to have `write` permissions. You can
see a passing run here:
[19828895682](https://github.com/ionic-team/ionic-framework/actions/runs/19828895682)

Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
@vercel
Copy link

vercel bot commented Dec 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ionic-framework Ready Ready Preview Comment Dec 1, 2025 10:07pm

@brandyscarney brandyscarney changed the base branch from main to next December 1, 2025 17:11
@github-actions github-actions bot added the package: core @ionic/core package label Dec 1, 2025
@brandyscarney brandyscarney force-pushed the chore/update-next-from-main branch from f736014 to f191604 Compare December 1, 2025 22:05
@brandyscarney brandyscarney changed the title chore: update next from main chore: update next from main and add playwright-core as a dev dependency Dec 1, 2025
@brandyscarney brandyscarney marked this pull request as ready for review December 1, 2025 22:16
@brandyscarney brandyscarney requested a review from a team as a code owner December 1, 2025 22:16
@brandyscarney brandyscarney requested a review from gnbm December 1, 2025 22:16
@brandyscarney brandyscarney merged commit 6db7301 into next Dec 1, 2025
63 checks passed
@brandyscarney brandyscarney deleted the chore/update-next-from-main branch December 1, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants