Skip to content

Commit

Permalink
feat: 🔧 releases automaticos via continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelcaxias committed Oct 27, 2022
1 parent 148f7c7 commit 7c1e957
Show file tree
Hide file tree
Showing 5 changed files with 20,733 additions and 13,539 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/main.yml

This file was deleted.

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 7c1e957

@vercel
Copy link

@vercel vercel bot commented on 7c1e957 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.