Skip to content
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
29 changes: 29 additions & 0 deletions .github/workflows/task-3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: task-3-workflow
run-name: Task 3 workflow
on:
pull_request:
paths:
- "desktop-app/**/*.ts"
- "desktop-app/package.json"
- "desktop-app/tsconfig.*"
- "desktop-app/vite"

defaults:
run:
working-directory: desktop-app
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: "lts/*"
cache: "npm"
cache-dependency-path: desktop-app
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm test