Skip to content

Commit d098fdb

Browse files
authored
Merge pull request #159 from opf/code-maintenance/69756-npm-trusted-publishing
[#69756] Migrate to npm trusted publishing/OIDC
2 parents fd7b9e4 + 2252ca3 commit d098fdb

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

.github/actions/build_angular/entrypoint.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
printf "//registry.npmjs.org/:_authToken=%s" "$NPM_AUTH_TOKEN_SHARED" > "$HOME/.npmrc"
6-
75
PACKAGE_VERSION=$(jq '.version' --raw-output ./package.json)
86

97
echo "************* Building v$PACKAGE_VERSION *************"

.github/actions/build_node/entrypoint.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
set -e
44

5-
printf "//registry.npmjs.org/:_authToken=%s" "$NPM_AUTH_TOKEN_SHARED" > "$HOME/.npmrc"
6-
75
PACKAGE_VERSION=$(jq '.version' --raw-output ./package.json)
86

97
echo "************* Building v$PACKAGE_VERSION *************"

.github/workflows/publish.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ jobs:
5959
name: octicons_gem
6060
path: ./lib/octicons_helper/vendor/cache
6161
- uses: ./.github/actions/build_ruby
62-
env:
63-
RUBYGEMS_TOKEN: ${{ secrets.RUBYGEMS_TOKEN }}
6462
with:
6563
args: octicons_helper
6664
# node:
@@ -73,8 +71,6 @@ jobs:
7371
# name: octicons
7472
# path: ./lib/build
7573
# - uses: ./.github/actions/build_node
76-
# env:
77-
# NPM_AUTH_TOKEN_SHARED: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
7874
# with:
7975
# args: octicons_node
8076
angular:
@@ -88,7 +84,5 @@ jobs:
8884
path: ./lib/build
8985
- name: Build @openproject/octicons-angular
9086
uses: ./.github/actions/build_angular
91-
env:
92-
NPM_AUTH_TOKEN_SHARED: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
9387
with:
9488
args: octicons_angular

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ jobs:
4343
version: yarn changeset:version
4444
publish: script/changeset-publish
4545
env:
46-
GITHUB_TOKEN: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
47-
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
46+
GITHUB_TOKEN: ${{ steps.get-access-token.outputs.access-token }}

0 commit comments

Comments
 (0)