Skip to content

Commit c7b723b

Browse files
🔧 fix: align release workflow with pie repo for OIDC publishing
1 parent c6563c3 commit c7b723b

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- main
77

88
permissions:
9-
contents: read
109
id-token: write
10+
contents: write
1111

1212
concurrency: ${{ github.workflow }}-${{ github.ref }}
1313

@@ -28,6 +28,15 @@ jobs:
2828
with:
2929
node-version: '22'
3030
cache: 'pnpm'
31+
32+
- name: Check and upgrade npm
33+
run: |
34+
echo "Current npm version:"
35+
npm --version
36+
npm install -g npm@latest
37+
echo "Upgraded npm version:"
38+
npm --version
39+
3140
- name: Install dependencies
3241
run: pnpm install --frozen-lockfile
3342

@@ -36,7 +45,7 @@ jobs:
3645

3746
- name: Create Release Pull Request
3847
id: changesets
39-
uses: NaverPayDev/changeset-actions/publish@f2c257106137d19d09112998e6c05b5586b3305c
48+
uses: NaverPayDev/changeset-actions/publish@main
4049
with:
4150
github_token: ${{ secrets.ACTION_TOKEN }}
4251
git_username: npayfebot
@@ -46,6 +55,5 @@ jobs:
4655
commit_message: '📦 bump changed packages version'
4756
create_github_release_tag: true
4857
formatting_script: pnpm run markdownlint:fix
49-
npm_token: ${{ secrets.NPM_TOKEN }}
5058
env:
5159
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}

0 commit comments

Comments
 (0)