Skip to content

Commit 6dab64a

Browse files
committed
Update release.yml
1 parent 0eadf68 commit 6dab64a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
with:
1818
node-version: 12
1919
registry-url: https://registry.npmjs.org/
20-
- run: npm ci
20+
- run: yarn install --frozen-lockfile
2121
- run: git config --global user.name "GitHub CD bot"
2222
- run: git config --global user.email "[email protected]"
23-
- run: npm version ${{ github.event.release.tag_name }}
24-
- run: npm run build
25-
# - run: npm test
26-
- run: npm publish
23+
- run: yarn version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
24+
- run: yarn run build
25+
# - run: yarn test
26+
- run: yarn publish --access public --tag latest
2727
env:
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2929
- run: git push

0 commit comments

Comments
 (0)