[ci] debug, fetch and show tags

This commit is contained in:
Revone 2023-09-27 10:45:08 +08:00
parent 3ae683bce4
commit 61263893fc
3 changed files with 5 additions and 3 deletions

View file

@ -49,7 +49,8 @@ jobs:
- name: Fetch Tags
run: git fetch --tags
- name: Show tags
run: git show-ref --tags
- name: Changelog
run: npm run changelog
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -29,3 +29,4 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -27,7 +27,7 @@
"deps:check": "dependency-cruiser src",
"changelog": "auto-changelog",
"coverage:badge": "istanbul-badges-readme",
"ci": "env && git show-ref --tags && npm run lint && npm run build && npm run test && npm run changelog"
"ci": "env && git fetch --tags && git show-ref --tags && npm run lint && npm run build && npm run test && npm run changelog"
},
"repository": {
"type": "git",