WIP: feat: přidání testů – Jest unit testy + Playwright E2E + CI pipeline #54
+10
-18
@@ -23,8 +23,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
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
|
- run: cd types && yarn install --frozen-lockfile && yarn openapi-ts
|
||||||
|
|
||||||
@@ -50,8 +50,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: yarn
|
|
||||||
cache-dependency-path: server/yarn.lock
|
- run: npm install -g yarn
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -72,8 +72,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: yarn
|
|
||||||
cache-dependency-path: server/yarn.lock
|
- run: npm install -g yarn
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -99,8 +99,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: yarn
|
|
||||||
cache-dependency-path: client/yarn.lock
|
- run: npm install -g yarn
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -140,14 +140,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- 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
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: server-dist
|
name: server-dist
|
||||||
@@ -191,8 +183,8 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '22'
|
node-version: '22'
|
||||||
cache: yarn
|
|
||||||
cache-dependency-path: server/yarn.lock
|
- run: npm install -g yarn
|
||||||
|
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user