Skip to content

Bump next from 14.2.10 to 14.2.15 in /packages/app-harness #777

Bump next from 14.2.10 to 14.2.15 in /packages/app-harness

Bump next from 14.2.10 to 14.2.15 in /packages/app-harness #777

name: E2E Template App (Web)
defaults:
run:
shell: zsh -l {0}
on:
workflow_dispatch:
push:
branches:
- main
- 'release/**'
paths-ignore:
- 'docs/**'
- '**/README.md'
- '**/lerna.json'
- '**/metadata.json'
- '**/renative.json'
- '**/package.json'
pull_request:
types: [labeled]
jobs:
e2e-template-web:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.label.name == 'e2e-template-web' || github.event.label.name == 'e2e'}}
runs-on: [self-hosted, macos]
steps:
- uses: actions/checkout@v2
- name: Setup
run: |
yarn config set network-timeout 300000
- name: Bootstrap
run: |
yarn bootstrap
- name: Run
run: |
cd packages/template-starter && yarn run:web-test & sleep 60
- name: E2E
run: |
cd packages/template-starter && yarn e2e:web && kill $(lsof -t -i:8080)
# Commented because e2e tests would fail due to minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
# uses: slackapi/slack-github-action@v1.23.0
# with:
# payload: |
# {
# "text": "<!here> *Template Web e2e tests FAILED after* <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|push> :alert:",
# "blocks": [
# {
# "type": "section",
# "text": {
# "type": "mrkdwn",
# "text": "<!here> *Template Web e2e tests FAILED after* <${{ github.event.pull_request.html_url || github.event.head_commit.url }}|push> :alert:"
# }
# }
# ]
# }
# env:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}