diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml index 106675b62..096c10c3c 100644 --- a/.github/workflows/update-lockfile.yml +++ b/.github/workflows/update-lockfile.yml @@ -13,15 +13,19 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Update lockfile - run: yarn install + run: | + cd client + yarn install - name: Commit and push changes run: | git config user.name 'github-actions[bot]' git config user.email 'github-actions[bot]@users.noreply.github.com' - git add yarn.lock + git add client/yarn.lock git commit -n -m "chore(snyk): update lockfile" git push \ No newline at end of file