Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from ncats/update
Browse files Browse the repository at this point in the history
fix: update release file
  • Loading branch information
kyxyes authored Feb 28, 2023
2 parents eb4f94f + 00bf5dc commit e8f5c81
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,10 @@ jobs:

- run: npm ci

- name: create and publish versions
id: changesets
uses: changesets/action@v1
with:
commit: "chore: update versions"
title: "chore: update versions"
publish: npm ci:publish
setupGitUser: false
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: npm run semantic-release


24 changes: 22 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"typedoc": "typedoc",
"lint": "eslint --max-warnings=0 --cache .",
"prepare": "husky install",
"ci:publish": "changeset publish"
"ci:publish": "changeset publish",
"semantic-release": "semantic-release"
},
"dependencies": {
"crypto-js": "^4.1.1",
Expand Down Expand Up @@ -68,12 +69,31 @@
"ts-jest": "^29.0.3",
"typedoc": "^0.23.2",
"typescript": "~4.8.4",
"yn": "^5.0.0"
"yn": "^5.0.0",
"@semantic-release/changelog": "^3.0.6",
"@semantic-release/git": "^8.0.0",
"semantic-release": "^16.0.1"
},
"engines": {
"node": ">=12.13.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --cache --fix"
},
"release": {
"branches": [
"main"
],
"verifyConditions": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"prepare": [
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/git"
]
}
}

0 comments on commit e8f5c81

Please sign in to comment.