Skip to content

Remove example from monorepo. #96

Remove example from monorepo.

Remove example from monorepo. #96

Workflow file for this run

name: package/oath
on:
# Post-submit.
push:
branches: [ main ]
# Pre-submit.
pull_request:
branches: [ main ]
paths:
- .github/workflows/package_oath.yaml
- packages/oath/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dart-lang/[email protected]
- run: dart pub get
- run: ./dev.sh setup --packages packages/oath
- run: ./dev.sh check --packages packages/oath
- run: ./dev.sh test --packages packages/oath
- run: ./dev.sh coverage --packages packages/oath
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: oath
file: packages/oath/coverage/lcov.info
fail_ci_if_error: true
publish:
if: github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: dart-lang/[email protected]
- run: dart pub get
working-directory: packages/oath
- run: ./dev.sh publish --packages packages/oath
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}