fix: remove check during logout as it fails when audience mismatches #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: Push tags | |
run: git push --follow-tags origin main |