Skip to content

Commit 83464f9

Browse files
author
Andrei Jiroh Eugenio Halili
committed
Update generate lockfile workflow stuff
Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
1 parent c139ae1 commit 83464f9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/generate-lockfile.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v2
1515
with:
16-
depth: 0
16+
fetch-depth: 0
1717
token: ${{secrets.GH_SERVICE_ACCOUNT_API_KEY}}
1818
- uses: actions/setup-node@v2
1919
with:
@@ -25,12 +25,16 @@ jobs:
2525
- name: Setup Yarn Berry
2626
shell: bash
2727
run: |
28+
git checkout update-lockfiles
2829
[ ! -d .yarn/versions ] && yarn set version berry || [ -d .yarn/versions ] && [[ $UPGRADE_LOCAL_YARNPKG_BINARY != "" ]] && yarn set version latest
2930
- name: Run install CI
3031
run: yarn install
32+
- name: Attempt to upgrade dependencies
33+
run: |
34+
yarn up gatsby react react-dom smooth-doc || true
3135
- name: Stage changes and check status
3236
run: git add . && git status
3337
- name: Commit changes
3438
run: |
3539
git commit -m "Updated Yarn lockfiles and stuff" --signoff
36-
git push origin HEAD:update-lockfiles
40+
git push origin update-lockfiles

0 commit comments

Comments
 (0)