@@ -11,23 +11,30 @@ permissions:
1111
1212jobs :
1313 update-framework :
14- runs-on : ubuntu-latest
15-
14+ runs-on : ubuntu-latest
1615 steps :
1716 - name : Checkout repository
1817 uses : actions/checkout@v4
19-
2018 - name : Setup Node.js
2119 uses : actions/setup-node@v4
2220 with :
23- node-version : 18
24-
21+ node-version : 24
2522 - name : Install generator-joplin globally
2623 run : npm install -g generator-joplin yo
27-
2824 - name : Run framework update
29- run : yo joplin --update --silent
30-
25+ run : yo joplin --update --silent --force --skip-install
26+ - name : New tsconfig.json content
27+ id : new-tsconfig-json
28+ run : |
29+ {
30+ echo 'content<<EOF'
31+ sed -e '$a\' tsconfig.json
32+ echo EOF
33+ } >> "$GITHUB_OUTPUT"
34+ - name : Revert tsconfig.json
35+ run : |
36+ git checkout -- tsconfig.json
37+ # Just tsconfig.json changes would not be important anyways
3138 - name : Check for changes
3239 id : changes
3340 run : |
@@ -36,24 +43,23 @@ jobs:
3643 else
3744 echo "has_changes=true" >> $GITHUB_OUTPUT
3845 fi
39-
40- - name : Install dependencies
41- run : npm install --legacy-peer-deps
42-
4346 - name : Create Pull Request
4447 if : steps.changes.outputs.has_changes == 'true'
4548 uses : peter-evans/create-pull-request@v6
4649 with :
47- commit-message : ' chore: monthly joplin plugin framework update'
48- title : ' chore: update joplin plugin framework (automated) '
50+ commit-message : ' chore: routine joplin plugin framework update'
51+ title : ' chore: routine joplin plugin framework update '
4952 body : |
50- This is an automated pull request to update the Joplin plugin framework.
51-
52- Please review the changes and ensure:
53- - All tests pass
54- - Build succeeds
55- - No breaking changes introduced
53+ This is an automated pull request to update the joplin plugin framework.
54+
55+ ## Some files were not updated from the framework
56+
57+ ### tsconfig.json
58+ ```json
59+ ${{ steps.new-tsconfig-json.outputs.content }}
60+ ```
5661 branch : chore/update-plugin-framework
5762 branch-suffix : timestamp
63+ committer : Albus <bot@nishantwrp.com>
64+ author : Albus <bot@nishantwrp.com>
5865 delete-branch : true
59- labels : dependencies, automated
0 commit comments