From 1813b95b41be8e468439d316a86205660c7b035e Mon Sep 17 00:00:00 2001 From: Stacey Van Herk <13419300+svanherk@users.noreply.github.com> Date: Mon, 15 Jun 2026 17:59:50 -0400 Subject: [PATCH] GAUD-10177 - Do not add NPM_TOKEN to release --- README.md | 6 +++--- .../release/templates/static/.github/workflows/release.yml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2fc5520..db904a8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ npm init @brightspace-ui * Unit tests with cross-browser testing * Continuous Integration using GitHub Actions * Dependabot -* [GitHub Release and publish to NPM*](#semantic-release) +* [GitHub Release and Publishing*](#semantic-release) ### Optional @@ -41,9 +41,9 @@ Visual diff results are published to a bucket in S3 and need special tokens to d ### Semantic Release -In order for the release workflow to automatically update the version, the repo needs to be configured with a `D2L_RELEASE_TOKEN`. +In order for the release workflow to automatically update the version, the repo needs to be configured with a `D2L_RELEASE_TOKEN`. Learn more in the [action docs](https://github.com/BrightspaceUI/actions/blob/main/docs/release-token.md). -Learn more in the [action docs](https://github.com/BrightspaceUI/actions/blob/main/docs/release-token.md). +There is also [additional setup required](https://github.com/BrightspaceUI/actions/tree/main/semantic-release#npm-package-deployment) for publishing, depending on whether your repo will publish to npm or CodeArtifact. ### Test Reporting diff --git a/src/generators/release/templates/static/.github/workflows/release.yml b/src/generators/release/templates/static/.github/workflows/release.yml index b03d32d..6a453ce 100644 --- a/src/generators/release/templates/static/.github/workflows/release.yml +++ b/src/generators/release/templates/static/.github/workflows/release.yml @@ -22,5 +22,3 @@ jobs: uses: BrightspaceUI/actions/semantic-release@main with: GITHUB_TOKEN: ${{ secrets.D2L_RELEASE_TOKEN }} - NPM: true - NPM_TOKEN: ${{ secrets.NPM_TOKEN }}