Skip to content

Commit

Permalink
chore: install dependencies in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
arianacosta committed Nov 21, 2021
1 parent 4ce7b4a commit bb93d60
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
uses: actions/setup-node@v2
with:
node-version: '16.x'
cache: 'yarn'
- run: yarn install # only becuase husky install git hook fails
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: ^18.0.0
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Print Version
if: steps.semantic.outputs.new_release_published == 'true'
run: |
echo ${{ steps.semantic.outputs.new_release_version }}

0 comments on commit bb93d60

Please sign in to comment.