Skip to content

Commit

Permalink
explicitly build lib
Browse files Browse the repository at this point in the history
  • Loading branch information
pitiscarf committed Nov 13, 2024
1 parent ea17686 commit d0bb4ac
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 10 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/wip-deploy-ci-admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,23 @@ jobs:
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci

- name: Build lib
working-directory: packages/lib
run: npm run build

- name: Build ds
working-directory: packages/ds
run: npm run build

# Typescript check
- name: Check types
working-directory: admin
continue-on-error: false
run: npm run check-types

# ESLint check
- name: Lint code
working-directory: admin
continue-on-error: false
run: npm run lint

Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/wip-deploy-ci-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,19 @@ jobs:
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci

- name: Build lib
working-directory: packages/lib
run: npm run build

# Typescript check
- name: Check types
continue-on-error: false
working-directory: api
run: npm run check-types

# ESLint check
# - name: Lint code
# continue-on-error: false
# run: npm run lint
- name: Lint code
working-directory: api
run: npm run lint

- name: Start MongoDB 7.0
uses: supercharge/[email protected]
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/wip-deploy-ci-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,23 @@ jobs:
if: steps.cache-npm.outputs.cache-hit != 'true'
run: npm ci

- name: Build lib
working-directory: packages/lib
run: npm run build

- name: Build ds
working-directory: packages/ds
run: npm run build

# Typescript check
- name: Check types
working-directory: app
continue-on-error: false
run: npm run check-types

# ESLint check
- name: Lint code
working-directory: app
continue-on-error: false
run: npm run lint

Expand Down
9 changes: 3 additions & 6 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,15 @@
},
"test": {
"cache": false,
"outputs": ["dist/**", "build/**"],
"dependsOn": ["^build"]
"outputs": ["dist/**", "build/**"]
},
"lint": {
"cache": false,
"outputs": ["dist/**", "build/**"],
"dependsOn": ["^build"]
"outputs": ["dist/**", "build/**"]
},
"check-types": {
"cache": false,
"outputs": ["dist/**", "build/**"],
"dependsOn": ["^build"]
"outputs": ["dist/**", "build/**"]
},
"clean": {
"cache": false,
Expand Down

0 comments on commit d0bb4ac

Please sign in to comment.