File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Create a PR to keep JavaScript branch up to date with main
1+ name : Update JavaScript branch
22
33on :
44 push :
@@ -23,10 +23,11 @@ jobs:
2323 uses : actions/setup-node@v5
2424 with :
2525 node-version : 20.x
26- cache : ' pnpm'
2726
2827 - name : Install dependencies
29- run : pnpm add -D @shopify/eslint-plugin
28+ run : |
29+ pnpm install
30+ pnpm add -D @shopify/eslint-plugin
3031
3132 - name : Create temporary tsconfig file for transpilation
3233 run : |
9293 git checkout -b temp_javascript_updates
9394 git commit -m "Convert template to Javascript"
9495 git checkout javascript || git checkout -b javascript
95- git pull origin javascript || true
96+ git pull origin javascript || echo "No remote javascript branch yet"
9697 git checkout -
9798 git rebase -m -X theirs javascript
9899 git push -f origin temp_javascript_updates:javascript_updates
You can’t perform that action at this time.
0 commit comments