File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2525 uses : actions/setup-node@v3
2626 with :
2727 node-version : " 20"
28- cache : ' yarn'
29-
30- - name : Use yarn@4.5.3
28+
29+ - name : Set up yarn@4.5.3
3130 run : |
3231 corepack enable
3332 corepack prepare yarn@4.5.3 --activate
7170 echo "Local version: ($CURRENT_VERSION) is higher then registry version: ($NPM_VERSION). Maintain local version."
7271 elif [ "$CURRENT_VERSION" != "$NPM_VERSION" ]; then
7372 echo "Registry version: ($NPM_VERSION) is higher then ($CURRENT_VERSION). Update local version."
74- npm version $NPM_VERSION --no-git-tag-version
73+ yarn version $NPM_VERSION --no-git-tag-version
7574 else
7675 echo "Versions are the same, no need to update."
7776 fi
8988 - name : Bump version and create new tag
9089 working-directory : packages/msw-dev-tool
9190 run : |
92- npm version patch -m "chore(release): bump version to %s"
91+ yarn version patch -m "chore(release): bump version to %s"
9392
9493 - name : Create .npmrc file
9594 working-directory : packages/msw-dev-tool
9897
9998 - name : Publish to npm
10099 working-directory : packages/msw-dev-tool
101- run : npm publish
100+ run : |
101+ yarn npm publish --access public
You can’t perform that action at this time.
0 commit comments