feat(elements|ino-segment-button): add type property (#1095) #1756
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
name: Test & Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build_core: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/dependencies-install | |
- run: yarn nx run-many --target=build --projects=elements* --exclude=*-example | |
# Build caches for (canary) release workflow | |
- if: github.ref == 'refs/heads/master' | |
name: Upload build artifacts for canary release | |
uses: ./.github/workflows/artifacts-upload | |
with: | |
upload-core-artifacts: true | |
test: | |
needs: | |
- build_core | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/dependencies-install | |
- run: yarn lint | |
- run: yarn build:core | |
- run: yarn test | |
build_dependent: | |
runs-on: ubuntu-latest | |
needs: | |
- build_core | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/workflows/dependencies-install | |
- run: yarn nx run-many --target=build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload build artifacts | |
uses: ./.github/workflows/artifacts-upload | |
with: | |
upload-example-artifacts: ${{ github.ref == 'refs/heads/master' }} | |
upload-storybook-artifact: true | |
unicorn: | |
needs: | |
- test | |
- build_dependent | |
uses: ./.github/workflows/deploy-unicorn.yml |