Skip to content

chore: commit changes in pipeline worflow #17

chore: commit changes in pipeline worflow

chore: commit changes in pipeline worflow #17

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Dart
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- run: flutter --version
- name: Install dependencies
run: flutter pub get
# Consider passing '--fatal-infos' for slightly stricter analysis.
- name: Analyze project source
run: flutter analyze
# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: flutter test
- name: Install node and npm
uses: actions/setup-node@v1
with:
node-version: 14
# Add git config to allow git to push tags
- name: Configure git
run: |
git config user.name github-actions
git config user.email github-actions@github.com
- name: Install dependencies
run: npm install
- name: Run release
run: npm run release
- name: Commit changes
run: |
git add .
git commit -m "chore: write version numbers"
- name: Push tags
run: git push --follow-tags origin main