Skip to content

Commit

Permalink
chore: adding release action
Browse files Browse the repository at this point in the history
  • Loading branch information
tripodsan committed Nov 13, 2020
1 parent 3138998 commit 0fc2cad
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/semantic-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,23 @@ jobs:
- run: npm install
- run: npm test

build_win:
runs-on: windows-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v2
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: '10.x'
- run: npm install
- run: npm test
# build_win:
# runs-on: windows-latest
# if: "!contains(github.event.head_commit.message, '[skip ci]')"
# steps:
# - run: git config --global core.autocrlf false
# - uses: actions/checkout@v2
# - name: Use Node.js 10.x
# uses: actions/setup-node@v1
# with:
# node-version: '10.x'
# - run: npm install
# - run: npm test

release:
runs-on: ubuntu-latest
needs: [build, build_win]
# needs: [build, build_win]
needs: [build]
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 0fc2cad

Please sign in to comment.