diff --git a/.github/workflows/check-db.yml b/.github/workflows/check-db.yml index 6305c1604..cd6617557 100644 --- a/.github/workflows/check-db.yml +++ b/.github/workflows/check-db.yml @@ -1,26 +1,27 @@ name: Check DB + on: pull_request: branches: [main] - types: [opened, synchronize, reopened, closed] + types: [opened, synchronize, reopened] + jobs: check-db: runs-on: ubuntu-latest - if: > - github.event_name == 'pull_request' && - github.event.pull_request.merged == false steps: - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} + uses: actions/checkout@v4 - - uses: pnpm/action-setup@v3 + - uses: pnpm/action-setup@v4 + with: + version: 9 + + - uses: actions/setup-node@v4 with: - version: 8 + cache: 'pnpm' - name: Install Dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Start Service run: pnpm run dev & diff --git a/.github/workflows/pr-comment-ci.yml b/.github/workflows/pr-comment-ci.yml index 2e447b0c3..b12aa0303 100644 --- a/.github/workflows/pr-comment-ci.yml +++ b/.github/workflows/pr-comment-ci.yml @@ -72,8 +72,12 @@ jobs: with: version: 9 + - uses: actions/setup-node@v4 + with: + cache: 'pnpm' + - name: Install Dependencies - run: pnpm install + run: pnpm install --frozen-lockfile - name: Merge main run: |