Skip to content

Commit

Permalink
Merge pull request #6 from GarthDB/semantic-release
Browse files Browse the repository at this point in the history
Semantic release
  • Loading branch information
GarthDB authored Mar 2, 2022
2 parents 016b7ac + 85172f2 commit c32555d
Show file tree
Hide file tree
Showing 4 changed files with 541 additions and 713 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
8 changes: 7 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"branches": ["main", "next"]
"branches": ["main", "next"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm",
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"jest": "^27.3.1",
"lint-staged": ">=10",
"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"semantic-release": "^19.0.2",
"style-dictionary": "^3.0.3"
}
}
Loading

0 comments on commit c32555d

Please sign in to comment.