feat: landing page app #690
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update lockfile | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
update-lockfile: | |
if: startsWith(github.head_ref, 'snyk-') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Update lockfile | |
run: | | |
cd client | |
yarn install | |
- name: Check for changes | |
run: | | |
if ! git diff --quiet client/yarn.lock; then | |
git config user.name 'github-actions[bot]' | |
git config user.email 'github-actions[bot]@users.noreply.github.com' | |
git add client/yarn.lock | |
git commit -n -m "chore(snyk): update lockfile" | |
git push | |
fi |