Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
permissions:
contents: write
pull-requests: write
env:
YARN_ENABLE_HARDENED_MODE: 'false'

steps:
- uses: actions/checkout@v6
Expand All @@ -50,8 +52,6 @@ jobs:
with:
node-version: 24

# Allow yarn to make changes during release
- run: corepack yarn config set enableHardenedMode false
- run: corepack yarn --mode=update-lockfile

- name: Install dependencies
Expand Down Expand Up @@ -79,6 +79,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ''
NPM_TOKEN: ''
YARN_ENABLE_HARDENED_MODE: 'false'

steps:
- uses: actions/checkout@v6
Expand All @@ -97,7 +98,6 @@ jobs:
echo "npm ${version}"
node -e "const version = process.argv[1]; const [major, minor, patch] = version.split('.').map(Number); if (major < 11 || (major === 11 && (minor < 5 || (minor === 5 && patch < 1)))) { throw new Error('npm 11.5.1 or newer is required for trusted publishing'); }" "$version"

- run: corepack yarn config set enableHardenedMode false
- run: corepack yarn --mode=update-lockfile

- name: Install dependencies
Expand Down
Loading