From 54652eec93a9276e58802ae289fda1880b2eeb8f Mon Sep 17 00:00:00 2001 From: ereti <43418802+ereti@users.noreply.github.com> Date: Fri, 15 Jul 2022 19:20:53 +0100 Subject: [PATCH] Update database-seeds.yml --- .github/workflows/database-seeds.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/database-seeds.yml b/.github/workflows/database-seeds.yml index b3bb3f647..53f424c6e 100644 --- a/.github/workflows/database-seeds.yml +++ b/.github/workflows/database-seeds.yml @@ -20,6 +20,9 @@ on: jobs: test: runs-on: ubuntu-latest + defaults: + run: + working-directory: ./scripts steps: - name: Checkout uses: actions/checkout@v2 @@ -35,11 +38,9 @@ jobs: version: 6.0.2 - name: Install Dependencies - working-directory: ./scripts run: pnpm i - name: Run Tests - working-directory: ./scripts run: pnpm test env: NODE_ENV: "test" @@ -48,6 +49,9 @@ jobs: runs-on: ubuntu-latest needs: [test] if: github.event_name == 'push' + defaults: + run: + working-directory: ./scripts steps: - name: Sync Staging Database if: github.ref == 'refs/heads/staging'