Skip to content

Commit

Permalink
feat: continuous integration para releases automaticas
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcaxias committed Oct 27, 2022
1 parent d425df6 commit 962a25d
Show file tree
Hide file tree
Showing 4 changed files with 21,985 additions and 14,551 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
on:
push:
branches:
- master
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
6 changes: 6 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"branches": [
"master",
"next"
]
}
Loading

1 comment on commit 962a25d

@vercel
Copy link

@vercel vercel bot commented on 962a25d Oct 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.