Skip to content

Commit

Permalink
chore: enable semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjoverm committed Dec 28, 2021
1 parent e07a687 commit 9ad3d60
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
run: npm run test:unit
- name: Cypress run
run: npm run test:e2e
# - name: Release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: npx semantic-release
- name: Release
working-directory: lib
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
12 changes: 11 additions & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,15 @@
"bugs": {
"url": "https://github.com/storyblok/storyblok-vue/issues"
},
"homepage": "https://github.com/storyblok/storyblok-vue"
"homepage": "https://github.com/storyblok/storyblok-vue",
"release": {
"branches": [
"master",
{
"name": "next",
"channel": "next",
"prerelease": "beta"
}
]
}
}

0 comments on commit 9ad3d60

Please sign in to comment.