diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31d76b9..22c3ebe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: permissions: id-token: write - contents: read + contents: write jobs: build-library: @@ -169,6 +169,11 @@ jobs: steps: - uses: actions/checkout@v6 + - name: Node & NPM versions + run: | + node --version + npm --version + - name: Get package version id: package_version run: echo "VERSION=$(jq -r .version packages/library/package.json)" >> $GITHUB_ENV @@ -190,4 +195,4 @@ jobs: - name: Publish to NPM if: env.VERSION_EXISTS == 'false' - run: npm publish --workspace=@tomplum/react-git-log --access public \ No newline at end of file + run: npm publish --workspace=@tomplum/react-git-log --provenance \ No newline at end of file diff --git a/packages/library/package.json b/packages/library/package.json index 93bbe5a..3cefbff 100644 --- a/packages/library/package.json +++ b/packages/library/package.json @@ -1,7 +1,10 @@ { "name": "@tomplum/react-git-log", "author": "Thomas Plumpton", - "repository": "https://github.com/TomPlum/react-git-log", + "repository": { + "type": "git", + "url": "git+https://github.com/TomPlum/react-git-log.git" + }, "description": "A flexible, themable, React component for visualising Git commit history, branch and tag metadata.", "version": "3.5.1", "license": "Apache-2.0",