Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- main
- next

permissions:
contents: write
issues: write
pull-requests: write
id-token: write

jobs:
release:
Expand All @@ -27,5 +29,6 @@ jobs:
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
run: npx semantic-release
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ test
.gitignore
tsconfig.json
tsup.config.ts
jest.config.js
jest.config.js
release.config.cjs
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gitkeykit",
"version": "2.1.1",
"version": "3.0.0-next.1",
"description": "Setup pgp keys and sign commits with ease on Linux and Windows machines.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -41,10 +41,15 @@
"debug": "^4.3.4"
},
"devDependencies": {
"@semantic-release/git": "^10.0.1",
"@types/debug": "^4.1.12",
"@types/node": "^20.11.30",
"rimraf": "^5.0.5",
"semantic-release": "^24.2.1",
"tsup": "^8.0.2",
"typescript": "^5.4.3"
},
"publishConfig": {
"provenance": true
}
}
Loading
Loading