diff --git a/.github/workflows/prod-release.yml b/.github/workflows/prod-release.yml index 5ef475ee9..bb00bfb85 100644 --- a/.github/workflows/prod-release.yml +++ b/.github/workflows/prod-release.yml @@ -17,7 +17,6 @@ on: env: NODE_OPTIONS: "--max-old-space-size=4096" - NPM_CONFIG_UNSAFE_PERM: true jobs: pre-release-ci: @@ -106,10 +105,9 @@ jobs: node-version: 'lts/*' registry-url: 'https://registry.npmjs.org' - # Ensure npm 11.5.1 or later is installed - name: Update npm run: npm install -g npm@latest - - run: npm ci --unsafe-perm + - run: npm ci - run: npm run build --if-present - run: npx lerna publish from-package --yes --dist-tag "$DIST_TAG" env: