Skip to content
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

Add unit tests #261

Merged
merged 22 commits into from
Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from 15 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
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ main ]

jobs:
build-es5:
build:
name: Build
runs-on: ubuntu-latest
steps:
Expand All @@ -22,6 +22,23 @@ jobs:
- name: Build PCUI
run: npm run build

test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v2.1.4
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Build PCUI
run: npm run build:es6
- name: Run unit tests
run: npm test

lint:
name: Lint
runs-on: ubuntu-latest
Expand Down
Loading