Skip to content

Commit dbb3be8

Browse files
committed
feat: Add OIDC NPM publish
1 parent f353dab commit dbb3be8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/actions/build/action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
name: Build
22
description: Build
33
runs:
4-
using: "composite"
5-
steps:
4+
using: 'composite'
5+
steps:
66
- uses: actions/setup-node@v4
77
with:
88
node-version-file: '.nvmrc'
99
cache: 'yarn'
1010

11+
- name: Update npm
12+
shell: bash
13+
run: npm install -g [email protected]
14+
1115
- name: install
1216
shell: sh
1317
run: yarn --frozen-lockfile

.github/workflows/ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
- name: Build packages
2525
uses: ./.github/actions/build
2626

27-
- name: prepare npm access
28-
run: echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}' >> ~/.npmrc
2927
# https://github.com/lerna/lerna/issues/2788 --no-verify-access
3028
# https://github.com/lerna/lerna/issues/1893 --preid ${{ github.sha }}
3129
- name: prerelease

0 commit comments

Comments
 (0)