-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] fix npmpublish action (#2791)
Signed-off-by: Ihor Dykhta <[email protected]>
- Loading branch information
1 parent
e77981e
commit f60b94f
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,12 @@ jobs: | |
publish-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
corepack-enable: true | ||
registry-url: https://registry.npmjs.org/ | ||
- run: npm install -g yarn | ||
- uses: actions/checkout@v4 | ||
|
||
# use Volta to manage yarn/node versions | ||
- uses: volta-cli/action@v4 | ||
|
||
- run: yarn install | ||
- run: yarn bootstrap | ||
- run: npm i -g [email protected] | ||
- run: npm --version && npm publish --workspaces --access public | ||
|