Skip to content

Commit

Permalink
fix: semantic release using github actions (#381)
Browse files Browse the repository at this point in the history
* fix:semantic release using github actions

* Removing extra line breaks
  • Loading branch information
Conor-Hinchee authored Oct 6, 2021
1 parent df52937 commit 1cdc6c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@ jobs:
npm run lint
npm run test
npm run build
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
node-version: 10.19
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm run semantic-release
- run: npm publish --access public
- run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pure-react-carousel",
"version": "0.0.0-semantically-released",
"version": "0.0.0-development",
"description": "A highly impartial suite of React components that can be assembled by the consumer to create a responsive and aria compliant carousel with almost no limits on DOM structure or CSS styles.",
"main": "dist/index.cjs.js",
"module": "dist/index.es.js",
Expand Down

0 comments on commit 1cdc6c0

Please sign in to comment.