Skip to content

Commit

Permalink
ci:
Browse files Browse the repository at this point in the history
  • Loading branch information
loveakinlesi committed Sep 14, 2024
1 parent d5e8859 commit 23f5266
Show file tree
Hide file tree
Showing 3 changed files with 780 additions and 1,437 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: pnpm build

- name: Create Release
run: pnpm run semantic-release
run: pnpm run release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@
"test:watch": "jest --watch",
"clean": "rm -rf dist",
"start": "tsup --watch",
"acp": "git add . && git-cz && git push",
"semantic-release": "semantic-release"
"release": "npx -p @semantic-release/changelog -p @semantic-release/git -p semantic-release semantic-release"
},
"keywords": [
"random",
"randomize",
"typescript",
"random generator",
"utility",
"seed"
"utility"
],
"publishConfig": {
"access": "public"
Expand All @@ -50,10 +48,8 @@
"devDependencies": {
"@types/jest": "^29.5.13",
"@types/node": "^22.5.5",
"conventional-changelog-conventionalcommits": "^8.0.0",
"cz-conventional-changelog": "^3.3.0",
"jest": "^29.7.0",
"semantic-release": "^17.4.7",
"semantic-release": "24.1.1",
"ts-jest": "^29.2.5",
"tsup": "^8.2.4",
"typescript": "^4.9.5"
Expand All @@ -66,11 +62,6 @@
"collectCoverage": true,
"coverageDirectory": "coverage"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"branches": [
"main"
Expand Down
Loading

0 comments on commit 23f5266

Please sign in to comment.