diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a7dc17f..5ccf354 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 11c117d..7e485d6 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -29,3 +29,4 @@ jobs: - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 1a468f0..19f2220 100644 --- a/package.json +++ b/package.json @@ -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",