This commit is contained in:
Alexey Kasyanchuk 2021-09-12 14:38:30 +03:00
parent 177f8d2f11
commit e598048389
2 changed files with 5 additions and 26 deletions

View File

@ -51,3 +51,8 @@ jobs:
with:
name: executable
path: dist/
- uses: nelonoel/branch-name@v1.0.1
- name: Deploy release (MacOS)
if: ${{ matrix.node_version }} == 16 && ${BRANCH_NAME} == 'master' && runner.os == 'macOS' && ${{ github.event.head_commit.message }} == 'release'
run: |
npx semantic-release@17

View File

@ -1,26 +0,0 @@
jobs:
include:
os: osx
osx_image: xcode11.6
language: node_js
node_js: "16"
cache:
yarn: true
directories:
- node_modules
before_install: git pull
script:
- npm test
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release@17
on:
branch: master
condition: $TRAVIS_COMMIT_MESSAGE = "release"