Skip to content

Commit

Permalink
chore: setup semantic release, #1
Browse files Browse the repository at this point in the history
  • Loading branch information
luifr10 committed Mar 5, 2024
1 parent 9054f0c commit df93d7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ on:
branches: [ "main" ]

env:
NODE_VERSION: 18.14.0
NODE_VERSION: 20.8.1
FLUTTER_VERSION: '3.16.9'

jobs:
analyse:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: $FLUTTER_VERSION
flutter-version: ${{env.FLUTTER_VERSION}}
channel: 'stable'
- run: flutter analyse
- run: flutter analyze

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: $FLUTTER_VERSION
flutter-version: ${{env.FLUTTER_VERSION}}
channel: 'stable'
- run: flutter test

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
flutter-version: $FLUTTER_VERSION
flutter-version: ${{env.FLUTTER_VERSION}}
channel: 'stable'
- name: Publish on pub.dev
run: dart publish
Expand Down
4 changes: 4 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"branches": [
{ "name": "beta-mode" },
{ "name": "main", "channel": "beta", "prerelease": "beta" }
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
Expand Down

0 comments on commit df93d7d

Please sign in to comment.