Skip to content

Commit

Permalink
Merge pull request #3 from rajnishdargan/tekdi-9.0.0
Browse files Browse the repository at this point in the history
Issue #224230: Enabling build and test in github actions
  • Loading branch information
vaivk369 authored Aug 1, 2024
2 parents 5bf5b6a + a2b0b69 commit ef5728d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 17 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI Build and Test Pipeline

on:
push:
branches:
- '**'

jobs:
build-and-test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18]

steps:
- name: Checkout Code Repository
uses: actions/checkout@v4

- name: Set Up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: package-lock.json

- name: Install Project Dependencies
run: npm ci

- name: Execute Tests
run: npm run test-lib-ci

- name: Build Library
run: npm run build-lib
16 changes: 0 additions & 16 deletions .github/workflows/jira-description-action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build-web-component": "npm run build-lib && ng build quml-player-wc --output-hashing none && node ./build-wc.js",
"test-lib": "ng test quml-library",
"test-lib-coverage": "ng test quml-library --code-coverage=true",
"test-lib-ci": "ng test quml-library --watch=false --code-coverage",
"test-lib-ci": "ng test quml-library --watch=false --code-coverage --no-progress --browsers=ChromeHeadless",
"build:schematics": "npm run build --prefix projects/quml-library"
},
"private": true,
Expand Down

0 comments on commit ef5728d

Please sign in to comment.