This commit is contained in:
peli 2020-06-22 15:39:01 -07:00
Родитель 435eae5422
Коммит 34e58297ef
2 изменённых файлов: 9 добавлений и 5 удалений

4
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -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 }}

Просмотреть файл

@ -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"