Skip to content

Commit 476f8a5

Browse files
committed
added demo test
1 parent f1a6098 commit 476f8a5

File tree

10 files changed

+371
-13462
lines changed

10 files changed

+371
-13462
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
branches:
55
- main
66

7+
env:
8+
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
9+
ECR_REPOSITORY: ${{ secrets.ECR_REPO }}
10+
IMAGE_TAG: ${{ github.sha }}
11+
712
jobs:
813
Find-GitSHA:
914
name: find Git Sha
@@ -36,11 +41,18 @@ jobs:
3641
echo "Current Commit ID REF : $REF"
3742
STATUS_URL=$API_HOST/repos/$OWNER/$REPO/statuses/$COMMIT_ID
3843
echo "STATUS_URL: $STATUS_URL"
44+
echo "GITHUB_URL=${{ STATUS_URL }}" >> $GITHUB_ENV
3945
curl -X POST $STATUS_URL \
4046
-H "Authorization: Bearer $GITHUB_TOKEN" \
4147
-H "Content-Type: application/json" \
4248
-d '{
4349
"state": "success",
4450
"description": "The build was successful.",
4551
"context": "ci/smartui-github-testing"
46-
}'
52+
}'
53+
54+
- name: Install Dependecies
55+
run: npm install
56+
57+
- name: Execute Test
58+
run: npm test

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/*

guacamole.html

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)