зеркало из https://github.com/microsoft/jacdac-ts.git
configure releasers
This commit is contained in:
Родитель
435eae5422
Коммит
34e58297ef
|
@ -19,8 +19,6 @@ jobs:
|
|||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
- run: npm run semantic-release
|
||||
if: github.ref == 'refs/heads/master'
|
||||
- run: npx semantic-release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
10
package.json
10
package.json
|
@ -27,11 +27,17 @@
|
|||
"test:watch": "jest --coverage --watch",
|
||||
"test:prod": "npm run lint && npm run test -- --no-cache",
|
||||
"commit": "git-cz",
|
||||
"semantic-release": "node node_modules/semantic-release/bin/semantic-release.js",
|
||||
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
|
||||
"precommit": "lint-staged",
|
||||
"travis-deploy-once": "travis-deploy-once"
|
||||
},
|
||||
"release": {
|
||||
"branches": ["master"],
|
||||
"plugins": [
|
||||
"@semantic-release/commit-analyzer",
|
||||
"@semantic-release/release-notes-generator",
|
||||
"@semantic-release/github"
|
||||
]
|
||||
},
|
||||
"jest": {
|
||||
"transform": {
|
||||
".(ts|tsx)": "ts-jest"
|
||||
|
|
Загрузка…
Ссылка в новой задаче