Browse Source

fix(workflows): use bootstrap cmd instead

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
8899058b0a
  1. 4
      .github/workflows/ci-cd.yml
  2. 2
      .github/workflows/playwright-test-workflow.yml
  3. 2
      .github/workflows/unit-test.yml
  4. 2
      .github/workflows/update-sdk-path.yml

4
.github/workflows/ci-cd.yml

@ -57,7 +57,7 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pnpm-store- ${{ runner.os }}-pnpm-store-
- name: Install dependencies for packages - name: Install dependencies for packages
run: pnpm i run: pnpm bootstrap
- name: run unit tests - name: run unit tests
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
run: pnpm run test:unit run: pnpm run test:unit
@ -97,7 +97,7 @@ jobs:
working-directory: ./ working-directory: ./
run: docker-compose -f ./tests/playwright/scripts/docker-compose-playwright-pg.yml up -d & run: docker-compose -f ./tests/playwright/scripts/docker-compose-playwright-pg.yml up -d &
- name: install dependencies - name: install dependencies
run: pnpm i run: pnpm bootstrap
- name: run unit tests - name: run unit tests
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
run: pnpm run test:unit:pg run: pnpm run test:unit:pg

2
.github/workflows/playwright-test-workflow.yml

@ -58,7 +58,7 @@ jobs:
- name: Set NC Edition - name: Set NC Edition
run: export EE=true run: export EE=true
- name: install dependencies - name: install dependencies
run: pnpm i run: pnpm bootstrap
- name: Setup mysql - name: Setup mysql
if: ${{ inputs.db == 'mysql' }} if: ${{ inputs.db == 'mysql' }}
working-directory: ./packages/nocodb/tests/mysql-sakila-db working-directory: ./packages/nocodb/tests/mysql-sakila-db

2
.github/workflows/unit-test.yml

@ -35,7 +35,7 @@ jobs:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'pnpm' cache: 'pnpm'
- name: install dependencies - name: install dependencies
run: pnpm i run: pnpm bootstrap
- name: run unit tests - name: run unit tests
working-directory: ./packages/nocodb working-directory: ./packages/nocodb
run: pnpm run unit-test run: pnpm run unit-test

2
.github/workflows/update-sdk-path.yml

@ -23,7 +23,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- run: | - run: |
pnpm i pnpm bootstrap
- name: Create Pull Request - name: Create Pull Request
id: cpr id: cpr

Loading…
Cancel
Save