File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 13
13
steps :
14
14
- uses : actions/checkout@v2
15
15
with :
16
- depth : 0
16
+ fetch- depth : 0
17
17
token : ${{secrets.GH_SERVICE_ACCOUNT_API_KEY}}
18
18
- uses : actions/setup-node@v2
19
19
with :
@@ -25,12 +25,16 @@ jobs:
25
25
- name : Setup Yarn Berry
26
26
shell : bash
27
27
run : |
28
+ git checkout update-lockfiles
28
29
[ ! -d .yarn/versions ] && yarn set version berry || [ -d .yarn/versions ] && [[ $UPGRADE_LOCAL_YARNPKG_BINARY != "" ]] && yarn set version latest
29
30
- name : Run install CI
30
31
run : yarn install
32
+ - name : Attempt to upgrade dependencies
33
+ run : |
34
+ yarn up gatsby react react-dom smooth-doc || true
31
35
- name : Stage changes and check status
32
36
run : git add . && git status
33
37
- name : Commit changes
34
38
run : |
35
39
git commit -m "Updated Yarn lockfiles and stuff" --signoff
36
- git push origin HEAD: update-lockfiles
40
+ git push origin update-lockfiles
You can’t perform that action at this time.
0 commit comments