Skip to content

Commit

Permalink
fix: use correct semantic-release-cli command
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Mar 23, 2020
1 parent ac5afdf commit 6ebae4f
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ jobs:
- uses: volta-cli/action@v1
with:
node-version: ${{ matrix.node }}

- name: Install
run: yarn install
- run: yarn install

- name: Test with ${{ matrix.node }}
run: |
Expand All @@ -45,20 +43,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: volta-cli/action@v1

- name: Install
run: |
yarn install
volta install semantic-release-cli
- run: yarn install

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
semantic-release-cli \
--gh-token=$GITHUB_TOKEN \
--npm-token=$NPM_TOKEN \
--gh-username=nullvoxpopuli \
--npm-username=nullvoxpopuli
run: yarn semantic-release

0 comments on commit 6ebae4f

Please sign in to comment.