feat: DSW-3900-clean-pie-textarea-expose-aria-label integration #1571
This file contains hidden or 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: Build - Vanilla App | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, "ready_for_review"] | |
| paths: | |
| - '.github/workflows/**' | |
| - 'vanilla-app/**' | |
| - 'webdriver-helpers/**' | |
| - 'wdio.conf.js' | |
| - 'test/**' | |
| - 'playwright-helpers/**' | |
| - '.percy.yml' | |
| - 'package.json' | |
| - 'yarn.lock' | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: CI-Vanilla-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| jobs: | |
| build-vanilla-app-windows: | |
| name: Windows | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| deploy: false | |
| os: 'windows-latest' | |
| package-name: 'vanilla-app' | |
| aws-role-arn: ${{ vars.AWS_ROLE_ARN }} | |
| secrets: inherit | |
| build-deploy-vanilla-app: | |
| name: Ubuntu | |
| uses: ./.github/workflows/build.yml | |
| with: | |
| deploy: true | |
| os: ubuntu-latest | |
| amplify-app-id: 'd2vb6sjgivffb3' | |
| package-name: 'vanilla-app' | |
| package-dist-directory: './vanilla-app/dist' | |
| bucket-name-preview: 'pie-aperture-preview' | |
| bucket-name-main: 'pie-aperture' | |
| aws-role-arn: ${{ vars.AWS_ROLE_ARN }} | |
| secrets: inherit | |
| system-tests: | |
| needs: 'build-deploy-vanilla-app' | |
| name: Run System Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node and Install Dependencies | |
| uses: ./.github/actions/setup-node | |
| - name: Setup Playwright | |
| uses: ./.github/actions/setup-playwright | |
| - name: Run System Tests | |
| shell: bash | |
| run: yarn test:system --filter=vanilla-app | |
| - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 | |
| if: always() | |
| with: | |
| name: vanilla-playwright-report | |
| path: playwright-reports/vanilla-app-playwright-report/ | |
| env: | |
| VANILLA_AMPLIFY_ID: d2vb6sjgivffb3 | |
| PR_NUMBER: ${{ github.event.number }} | |
| percy-tests: | |
| needs: 'build-deploy-vanilla-app' | |
| if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || github.ref == 'refs/heads/main' | |
| name: Run Percy Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node and Install Dependencies | |
| uses: ./.github/actions/setup-node | |
| - name: Run Percy Tests | |
| shell: bash | |
| run: yarn test:visual --filter=vanilla-app | |
| env: | |
| BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} | |
| BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
| PERCY_TOKEN_PIE_APERTURE_VANILLA: ${{ secrets.PERCY_TOKEN_PIE_APERTURE_VANILLA }} | |
| VANILLA_AMPLIFY_ID: d2vb6sjgivffb3 | |
| PR_NUMBER: ${{ github.event.number }} |