Skip to content

Add test orchestrator script to trigger remote workflow runner outside functional test repo for cypress tests #888

Add test orchestrator script to trigger remote workflow runner outside functional test repo for cypress tests

Add test orchestrator script to trigger remote workflow runner outside functional test repo for cypress tests #888

Workflow file for this run

# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0
name: Lint Checker
on:
pull_request:
branches: [ '**' ]
jobs:
tests:
name: Lint Checker
runs-on: ubuntu-latest
env:
# prevents extra Cypress installation progress messages
CI: 1
# avoid warnings like "tput: No value for $TERM and no -T specified"
TERM: xterm
# make Node run in ipv4 first so that cypress can detect 5601 port in CI environment
NODE_OPTIONS: '--max-old-space-size=6144 --dns-result-order=ipv4first'
steps:
- name: Checkout cypress-test
uses: actions/checkout@v2
with:
repository: ${{github.repository}}
path: cypress-test
- name: Run Lint
working-directory: cypress-test
run: |
echo "VERSION=$(yarn --silent pkg-version)" >> $GITHUB_ENV
npm install
yarn lint