We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eadf68 commit 6dab64aCopy full SHA for 6dab64a
.github/workflows/release.yml
@@ -17,13 +17,13 @@ jobs:
17
with:
18
node-version: 12
19
registry-url: https://registry.npmjs.org/
20
- - run: npm ci
+ - run: yarn install --frozen-lockfile
21
- run: git config --global user.name "GitHub CD bot"
22
- 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
+ - run: yarn version --new-version ${{ github.event.release.tag_name }} --no-git-tag-version
+ - run: yarn run build
+ # - run: yarn test
+ - run: yarn publish --access public --tag latest
27
env:
28
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
29
- run: git push
0 commit comments