Skip to content

Update ci.yml #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: github-action
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
name: Quality Checks

on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch: # Allows manual triggering

env:
LT_USERNAME: ${{ secrets.LT_USERNAME }}
LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
GRID_HOST: ${{ secrets.GRID_HOST }}

jobs:
SmartUI-Gihub-Action:
name: Execute SmartUI Test with Github App Integration
SmartUI-Github-Action:
name: Execute SmartUI Test with GitHub App Integration
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

Expand All @@ -27,9 +33,9 @@ jobs:
GITHUB_URL=$API_HOST/repos/$GITHUB_REPOSITORY/statuses/$COMMIT_ID
echo "GITHUB_URL: $GITHUB_URL"
echo "GITHUB_URL=$GITHUB_URL" >> $GITHUB_ENV

- name: Install Dependencies
run: npm install

- name: Execute Test
run: npm test
run: npm test