Skip to content

Upgrade package:oath, and change to path dependencies in monorepo. #81

Upgrade package:oath, and change to path dependencies in monorepo.

Upgrade package:oath, and change to path dependencies in monorepo. #81

Workflow file for this run

name: package/lore
on:
# Post-submit.
push:
branches: [ main ]
# Pre-submit.
pull_request:
branches: [ main ]
paths:
- .github/workflows/package_lore.yaml
- packages/lore/**
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/lore
- run: ./dev.sh check --packages packages/lore
- run: ./dev.sh test --packages packages/lore
- run: ./dev.sh coverage --packages packages/lore
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: lore
file: packages/lore/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/lore
- run: ./dev.sh publish --packages packages/lore
env:
PUB_CREDENTIALS: ${{ secrets.PUB_CREDENTIALS }}