fix new apps folder naming
Build & Deploy / Build & Push Docker Image (push) Failing after 56s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / Type Check (all packages) (push) Failing after 40s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Storefront Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped
Build & Deploy / Build & Push Docker Image (push) Failing after 56s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / Type Check (all packages) (push) Failing after 40s
Test / API Unit Tests (push) Has been skipped
Test / Homepage Unit Tests (push) Has been skipped
Test / Storefront Unit Tests (push) Has been skipped
Test / Admin Unit Tests (push) Has been skipped
Test / Dashboard Unit Tests (push) Has been skipped
Test / API Integration Tests (push) Has been skipped
This commit is contained in:
+35
-12
@@ -12,57 +12,80 @@ concurrency:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
NODE_VERSION: "20"
|
NODE_VERSION: "20"
|
||||||
GIT_SSL_NO_VERIFY: "true"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
api-tests:
|
type-check:
|
||||||
name: API Unit Tests
|
name: Type Check (all packages)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
cache: "npm"
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run db:generate
|
- run: npm run db:generate
|
||||||
- run: npm run type-check
|
- run: npm run type-check
|
||||||
- run: npm run test:api
|
|
||||||
|
|
||||||
marketplace-tests:
|
api-tests:
|
||||||
name: Marketplace Unit Tests
|
name: API Unit Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: type-check
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run db:generate
|
||||||
|
- run: npm run test:api
|
||||||
|
|
||||||
|
homepage-tests:
|
||||||
|
name: Homepage Unit Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: type-check
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
cache: "npm"
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --workspace @rentaldrivego/types
|
- run: npm run build --workspace @rentaldrivego/types
|
||||||
- run: npm run test:marketplace
|
- run: npm run test:homepage
|
||||||
|
|
||||||
|
storefront-tests:
|
||||||
|
name: Storefront Unit Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: type-check
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --workspace @rentaldrivego/types
|
||||||
|
- run: npm run test:storefront
|
||||||
|
|
||||||
admin-tests:
|
admin-tests:
|
||||||
name: Admin Unit Tests
|
name: Admin Unit Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: type-check
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
cache: "npm"
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run test:admin
|
- run: npm run test:admin
|
||||||
|
|
||||||
dashboard-tests:
|
dashboard-tests:
|
||||||
name: Dashboard Unit Tests
|
name: Dashboard Unit Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: type-check
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
cache: "npm"
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --workspace @rentaldrivego/types
|
- run: npm run build --workspace @rentaldrivego/types
|
||||||
- run: npm run test:dashboard
|
- run: npm run test:dashboard
|
||||||
@@ -70,6 +93,7 @@ jobs:
|
|||||||
integration-tests:
|
integration-tests:
|
||||||
name: API Integration Tests
|
name: API Integration Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: type-check
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
@@ -101,7 +125,6 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
cache: "npm"
|
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run db:generate
|
- run: npm run db:generate
|
||||||
- run: npm run db:deploy
|
- run: npm run db:deploy
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
"useUnknownInCatchVariables": true,
|
"useUnknownInCatchVariables": true,
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
"verbatimModuleSyntax": true,
|
"verbatimModuleSyntax": true,
|
||||||
|
"types": ["vitest/globals", "@testing-library/jest-dom"],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": ["./src/*"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -76,5 +76,8 @@
|
|||||||
"node": ">=20.0.0",
|
"node": ">=20.0.0",
|
||||||
"npm": ">=10.0.0"
|
"npm": ">=10.0.0"
|
||||||
},
|
},
|
||||||
|
"overrides": {
|
||||||
|
"@types/tough-cookie": "^4.0.5"
|
||||||
|
},
|
||||||
"packageManager": "npm@10.5.0"
|
"packageManager": "npm@10.5.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user