Skip to content

Commit

Permalink
Added jest as one more step to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiatlon committed Jan 3, 2025
1 parent 0f4c330 commit 23f763f
Show file tree
Hide file tree
Showing 33 changed files with 22 additions and 3,822 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pipeline-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,29 @@ jobs:
- name: Build the app
run: npm run build || (echo "Build failed. Check the logs above." && exit 1)

jest:
name: Jest unit tests
runs-on: ubuntu-latest
needs: [common]

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.10.0'

- name: Run Jest tests
run: npx jest

docker_build:
name: Build docker image
runs-on: ubuntu-latest
needs: [common]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ dist
dist-ssr
*.local
.env
coverage

# Editor directories and files
.vscode/*
Expand Down
224 changes: 0 additions & 224 deletions coverage/lcov-report/base.css

This file was deleted.

87 changes: 0 additions & 87 deletions coverage/lcov-report/block-navigation.js

This file was deleted.

Loading

0 comments on commit 23f763f

Please sign in to comment.