WIP: feat: přidání testů – Jest unit testy + Playwright E2E + CI pipeline #54

Draft
batmanisko wants to merge 20 commits from feat/tests into master
Showing only changes of commit 2067c21a29 - Show all commits
+10 -18
View File
@@ -23,8 +23,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
cache-dependency-path: types/yarn.lock
- run: npm install -g yarn
- run: cd types && yarn install --frozen-lockfile && yarn openapi-ts
@@ -50,8 +50,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
cache-dependency-path: server/yarn.lock
- run: npm install -g yarn
- uses: actions/download-artifact@v4
with:
@@ -72,8 +72,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
cache-dependency-path: server/yarn.lock
- run: npm install -g yarn
- uses: actions/download-artifact@v4
with:
@@ -99,8 +99,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
cache-dependency-path: client/yarn.lock
- run: npm install -g yarn
- uses: actions/download-artifact@v4
with:
@@ -140,14 +140,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
cache-dependency-path: |
server/yarn.lock
e2e/yarn.lock
- uses: actions/download-artifact@v4
with:
name: server-dist
@@ -191,8 +183,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: yarn
cache-dependency-path: server/yarn.lock
- run: npm install -g yarn
- uses: actions/download-artifact@v4
with: