Skip to content

Task 2 workflow

Task 2 workflow #6

Workflow file for this run

name: task-2-workflow
run-name: Task 2 workflow
on:
pull_request
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