Skip to content

Commit

Permalink
ci: setup automated releases (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer authored Nov 14, 2020
1 parent 7980d19 commit cb80cec
Show file tree
Hide file tree
Showing 3 changed files with 3,180 additions and 74 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,10 @@ jobs:
run: yarn test
env:
CI: true

- name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "styled-jsx",
"version": "3.3.1",
"version": "0.0.0-development",
"license": "MIT",
"repository": "vercel/styled-jsx",
"description": "Full CSS support for JSX without compromises",
Expand Down Expand Up @@ -82,6 +82,7 @@
"pretty-quick": "3.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"semantic-release": "17.2.2",
"xo": "0.24.0"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit cb80cec

Please sign in to comment.