Skip to content

Commit 3cac272

Browse files
committed
chore: update to use OIDC publishing
this commit will also update Node.js version to 24.x and install npm 11.6.2 in workflows
1 parent 0c1173e commit 3cac272

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/manual-publish.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,13 @@ jobs:
2222

2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version: 20.x
25+
node-version: 24.x
2626
registry-url: 'https://registry.npmjs.org'
2727

28-
- uses: launchdarkly/gh-actions/actions/[email protected]
29-
name: 'Get NPM token'
30-
with:
31-
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
32-
ssm_parameter_pairs: '/production/common/releasing/npm/token = NODE_AUTH_TOKEN'
28+
- name: Update NPM
29+
shell: bash
30+
# Must be greater than 11.5.1 for OIDC.
31+
run: npm install -g [email protected]
3332

3433
- name: Install Dependencies
3534
run: npm install

.github/workflows/release-please.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,13 @@ jobs:
2828

2929
- uses: actions/setup-node@v4
3030
with:
31-
node-version: 20.x
31+
node-version: 24.x
3232
registry-url: 'https://registry.npmjs.org'
3333

34-
- uses: launchdarkly/gh-actions/actions/[email protected]
35-
name: 'Get NPM token'
36-
with:
37-
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
38-
ssm_parameter_pairs: '/production/common/releasing/npm/token = NODE_AUTH_TOKEN'
34+
- name: Update NPM
35+
shell: bash
36+
# Must be greater than 11.5.1 for OIDC.
37+
run: npm install -g [email protected]
3938

4039
- name: Install Dependencies
4140
run: npm install

0 commit comments

Comments
 (0)