Skip to content

detect runtime error #1644

detect runtime error

detect runtime error #1644

name: detect runtime error
on:
schedule:
- cron: '0 22 * * *'
jobs:
makeUrl:
runs-on: ubuntu-latest
env:
WORKING_DIRECTORY: ./apps/editor
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: create config variable
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
node scripts/createConfigVariable.js
- name: set global error variable
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
echo ::set-env name=ERROR_VARIABLE::$(head -n 1 ./errorVariable.txt)
- name: set url
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
echo ::set-env name=URLS::$(head -n 1 ./url.txt)
- name: detect runtime error
uses: nhn/toast-ui.detect-runtime-error-actions@master
with:
global-error-log-variable: ${{ env.ERROR_VARIABLE }}
urls: ${{ env.URLS }}
browserlist: ie11, safari, edge, firefox, chrome
env:
BROWSERSTACK_USERNAME: ${{secrets.BROWSERSTACK_USERNAME}}
BROWSERSTACK_ACCESS_KEY: ${{secrets.BROWSERSTACK_ACCESS_KEY}}