release
This commit is contained in:
parent
177f8d2f11
commit
e598048389
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -51,3 +51,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: executable
|
name: executable
|
||||||
path: dist/
|
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
|
||||||
|
26
.travis.yml
26
.travis.yml
@ -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"
|
|
Loading…
Reference in New Issue
Block a user