File tree Expand file tree Collapse file tree
packages/shared-components Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Publish shared component npm package
1+ name : Publish npm package
2+ run-name : Publish ${{ inputs.package }}
23on :
3- workflow_dispatch : {}
4+ workflow_dispatch :
5+ inputs :
6+ package :
7+ description : Which package to release
8+ required : true
9+ type : choice
10+ options :
11+ - playwright-common
12+ - shared-components
413
514concurrency : release
615jobs :
2938 - name : Update npm
3039 run : npm install -g npm@latest
3140
32- # Need to setup element web too as it needs the translations
33- - name : 🛠️ Setup EW
41+ - name : 🛠️ Install dependencies
3442 run : pnpm install --frozen-lockfile
3543
3644 - name : 🚀 Publish to npm
37- working-directory : packages/shared-components
45+ working-directory : packages/${{ inputs.package }}
3846 run : npm publish --access public --provenance
Original file line number Diff line number Diff line change @@ -365,4 +365,4 @@ pnpm i18n
365365Two steps are required to publish a new version of this package:
366366
3673671 . Bump the version in ` package.json ` following semver rules and open a PR.
368- 2 . Once merged run the [ github workflow] ( https://github.com/element-hq/element-web/actions/workflows/shared-component -publish.yaml )
368+ 2 . Once merged run the [ github workflow] ( https://github.com/element-hq/element-web/actions/workflows/npm -publish.yaml )
You can’t perform that action at this time.
0 commit comments