Skip to content

Commit 1cdc6c0

Browse files
fix: semantic release using github actions (#381)
* fix:semantic release using github actions * Removing extra line breaks
1 parent df52937 commit 1cdc6c0

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ jobs:
2525
npm run lint
2626
npm run test
2727
npm run build
28-
29-
28+

.github/workflows/publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
node-version: 10.19
2727
registry-url: https://registry.npmjs.org/
2828
- run: npm i
29-
- run: npm run semantic-release
30-
- run: npm publish --access public
29+
- run: npx semantic-release
3130
env:
3231
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3332
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pure-react-carousel",
3-
"version": "0.0.0-semantically-released",
3+
"version": "0.0.0-development",
44
"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.",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.es.js",

0 commit comments

Comments
 (0)