Browse Source

chore(workflows): checkout first

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
6ff4bae00f
  1. 4
      .github/workflows/playwright-test-workflow.yml

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

@ -16,6 +16,8 @@ jobs:
runs-on: [self-hosted, v2] runs-on: [self-hosted, v2]
timeout-minutes: 100 timeout-minutes: 100
steps: steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
@ -35,8 +37,6 @@ jobs:
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-pnpm-store- ${{ runner.os }}-pnpm-store-
- name: Checkout
uses: actions/checkout@v3
- name: setup pg - name: setup pg
if: ${{ inputs.db == 'pg' || ( inputs.db == 'sqlite' && inputs.shard == '1' ) }} if: ${{ inputs.db == 'pg' || ( inputs.db == 'sqlite' && inputs.shard == '1' ) }}
working-directory: ./ working-directory: ./

Loading…
Cancel
Save