Skip to content

Commit

Permalink
Install controller dependencies in build step
Browse files Browse the repository at this point in the history
  • Loading branch information
BT-Creator committed Jul 17, 2024
1 parent 2b09851 commit e293077
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Insall dependencies
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Run Eslint
run: pnpm run lint:ci >> $GITHUB_STEP_SUMMARY
controller-tsc:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Insall dependencies
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Run Typescript Check
run: pnpm run build >> $GITHUB_STEP_SUMMARY
- name: Save distribution files
Expand All @@ -105,8 +105,6 @@ jobs:
with:
name: controller-dist
path: ${{github.workspace}}/controller/dist
- name: Display structure of downloaded files
run: ls -al ../controller
- name: Install Node.js
uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
Expand All @@ -129,7 +127,7 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Insall dependencies
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Run Typescript Check
run: pnpm run type-check >> $GITHUB_STEP_SUMMARY
build:
Expand All @@ -147,8 +145,6 @@ jobs:
with:
name: controller-dist
path: ${{github.workspace}}/controller/dist
- name: Display structure of downloaded files
run: ls -al ../controller
- name: Install Node.js
uses: actions/setup-node@v4
- uses: pnpm/action-setup@v4
Expand All @@ -170,7 +166,10 @@ jobs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Insall dependencies
run: pnpm install
- name: Install dependencies of controller
working-directory: controller
run: pnpm install --frozen-lockfile
- name: Install dependencies of loama
run: pnpm install --frozen-lockfile
- name: Run Typescript Check
run: pnpm run build-only >> $GITHUB_STEP_SUMMARY

0 comments on commit e293077

Please sign in to comment.