Skip to content

Additional e2e tests for up down arrow navigation #278

Additional e2e tests for up down arrow navigation

Additional e2e tests for up down arrow navigation #278

Workflow file for this run

name: Check Lint, Tests and Build
on:
pull_request:
branches: [main, feature/*, fix/*]
jobs:
notify:
name: Slack notification
runs-on: [ubuntu-latest]
steps:
- name: Post message
uses: slackapi/slack-github-action@v1.25.0
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
payload: |
{
"title": ${{ toJson(github.event.pull_request.title) }},
"author": ${{ toJson(github.event.pull_request.user.login) }},
"link": ${{ toJson(github.event.pull_request.html_url) }},
"repository": "FlareChatUI"
}
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 20
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
scope: '@aws'
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Run Unit and E2E tests
run: npm run tests:unit && npm run tests:e2e
- name: Run Lint
run: npm run lint
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: test-snapshots
path: ./ui-tests/__test__/__image_snapshots__
retention-days: 30