Skip to content

update the basic logic components #9

update the basic logic components

update the basic logic components #9

Workflow file for this run

name: AED Penang CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm'
- name: Install Dependencies
run: |
npm install
npm install --save-dev mocha @types/mocha chai @types/chai
- name: Build
run: npm run build
- name: TypeScript Compile Check
run: npx tsc --noEmit
- name: Run Tests (if test files exist)
run: |
if [ -d "test" ]; then
npm test
else
echo "No test files found, skipping tests"
fi