diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2df9808..d45be76 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,8 @@ jobs: package_release: name: Release from "${{ github.ref_name }}" branch runs-on: ubuntu-latest + # Only main and release-v* may use this environment, and the npm trusted publisher requires it. + environment: npm-release steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4