Skip to content

Commit 6a58591

Browse files
authored
ci(release): fix release process [AR-63091] (#469)
1 parent 195d2c2 commit 6a58591

2 files changed

Lines changed: 1 addition & 13 deletions

File tree

.github/actions/install/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Install
22
description: Install Node.js, pnpm, and dependencies
33

4-
inputs:
5-
skip-install:
6-
description: Skip installation of dependencies
7-
required: false
8-
default: false
9-
104
runs:
115
using: composite
126
steps:
@@ -21,7 +15,6 @@ runs:
2115
node-version-file: .nvmrc
2216

2317
- name: Install Dependencies
24-
if: ${{ inputs.skip-install != 'true' }}
2518
shell: bash
2619
env:
2720
# Skip Husky installation.

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,15 +97,10 @@ jobs:
9797

9898
- name: Install Dependencies
9999
uses: ./.github/actions/install
100-
with:
101-
skip-install: true
102100

103101
- name: Ensure updated npm
104102
run: npm install -g npm@11.7.0 # npm >= 11.5.1 is required for trusted publishing
105103

106-
- name: Install changeset
107-
run: pnpm install -g @changesets/cli@^2.30.0
108-
109104
- name: Download build
110105
uses: actions/download-artifact@484a0b528fb4d7bd804637ccb632e47a0e638317 # v8.0.1
111106
with:
@@ -115,6 +110,6 @@ jobs:
115110
- name: Publish
116111
uses: changesets/action@63a615b9cd06ba9a3e6d13796c7fbcb080a60a0b # v1.8.0
117112
with:
118-
publish: changeset publish
113+
publish: pnpm changeset publish
119114
env:
120115
NPM_TOKEN: '' # https://github.com/changesets/action/issues/542#issuecomment-3642334398

0 commit comments

Comments
 (0)